Rome is a formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS.
Rome is designed to replace Babel, ESLint, webpack, Prettier, Jest, and others.
Rome unifies functionality that has previously been separate tools. Building upon a shared base allows us to provide a cohesive experience for processing code, displaying errors, parallelizing work, caching, and configuration.
Rome has strong conventions and aims to have minimal configuration. Read more about our project philosophy.
Rome is written in Rust.
Rome has first-class IDE support, with a sophisticated parser that represents the source text in full fidelity and top-notch error recovery.
Rome is MIT licensed and moderated under the Contributor Covenant Code of Conduct.
npm i rome@next
Format files:
rome format --write ./path ./path/to/file.js
For complete documentation, please visit the official website.
The project philosophy can be found on our website.
Contribution and development instructions can be found in CONTRIBUTING.
Additional project coordination and real-time discussion happens on our Discord server. Remember that all activity on the Discord server is still moderated and will be strictly enforced under the project's Code of Conduct.
If you're curious to know our internals, you can browse our technical documentation.