Rome
JavaScript Unified Toolchain
An all-in-one JavaScript/TypeScript toolchain developed by Babel creator Sebastian McKenzie. Integrates linter, formatter, and bundler into a single tool. Now forked as Biome and under active development.
JavaScript Unified Toolchain
An all-in-one JavaScript/TypeScript toolchain developed by Babel creator Sebastian McKenzie. Integrates linter, formatter, and bundler into a single tool. Now forked as Biome and under active development.
Rome is an all-in-one toolchain project for JavaScript and TypeScript development. It aimed to replace the linter (ESLint), formatter (Prettier), bundler (webpack), compiler (Babel), test runner (Jest), and other tools that had previously been used separately with a single integrated tool. Its name comes from the expression "All roads lead to Rome," and it sought to solve the problem of tool fragmentation in the JavaScript ecosystem.
Sebastian McKenzie founded Rome. He is the creator of Babel, the JavaScript transpiler, having created Babel at the age of 17 and revolutionized the JavaScript ecosystem. While working at Meta (Facebook), he founded Rome Tools Inc. in 2020 and devoted himself to developing Rome. Based on the insights gained from developing Babel, he sought to fundamentally resolve configuration conflicts and compatibility problems between tools.
The Rome project was forked as Biome in 2023 and gained new life. Due to funding problems at Rome Tools Inc., the core developers left the company, and the Biome project was born under community leadership. Biome is based on Rome's codebase while maintaining more active development and release cycles. Currently, Biome is recommended instead of Rome for new projects.
The integrated tool approach of Rome/Biome offers several advantages. First, it manages linting and formatting with a single configuration file, greatly reducing configuration complexity. Second, there are no conflicts between tools, so problems such as rule conflicts between ESLint and Prettier do not occur. Third, being written in Rust, it delivers 10-20 times faster performance than ESLint/Prettier. Finally, consistent error messages and diagnostic information make debugging easier.
// Biome(Rome ํ์) ์ค์ ํ์ผ
// ํ๋ก์ ํธ ๋ฃจํธ์ biome.json ์์ฑ
{
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
// ์ ์ญ ์ค์
"organizeImports": {
"enabled": true
},
// ๋ฆฐํฐ ์ค์
"linter": {
"enabled": true,
"rules": {
"recommended": true,
// ํน์ ๊ท์น ์ปค์คํฐ๋ง์ด์ง
"complexity": {
"noForEach": "warn"
},
"style": {
"noNonNullAssertion": "off",
"useConst": "error"
},
"suspicious": {
"noExplicitAny": "warn"
}
}
},
// ํฌ๋งคํฐ ์ค์
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
// JavaScript/TypeScript ํนํ ์ค์
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingComma": "es5"
}
},
// ํ์ผ ์ ์ธ ์ค์
"files": {
"ignore": ["node_modules", "dist", "*.min.js"]
}
}
# Biome ์ค์น (Rome์์ ๋ง์ด๊ทธ๋ ์ด์
๊ถ์ฅ)
npm install --save-dev @biomejs/biome
# ์ค์ ํ์ผ ์ด๊ธฐํ
npx @biomejs/biome init
# ์ฝ๋ ํฌ๋งคํ
(--write๋ก ํ์ผ ์์ )
npx @biomejs/biome format --write ./src
# ๋ฆฐํ
๊ฒ์ฌ
npx @biomejs/biome lint ./src
# ๋ฆฐํ
+ ์๋ ์์
npx @biomejs/biome lint --apply ./src
# ํฌ๋งคํ
+ ๋ฆฐํ
๋์ ์คํ (check ๋ช
๋ น์ด)
npx @biomejs/biome check ./src
# CI์์ ์ฌ์ฉ (์์ ์์ด ๊ฒ์ฌ๋ง)
npx @biomejs/biome ci ./src
# ํน์ ํ์ผ๋ง ๊ฒ์ฌ
npx @biomejs/biome check ./src/App.tsx ./src/utils/*.ts
# package.json์ ์คํฌ๋ฆฝํธ ์ถ๊ฐ ์์
# "scripts": {
# "lint": "biome lint ./src",
# "format": "biome format --write ./src",
# "check": "biome check ./src"
# }
// 1. ๊ธฐ์กด ์ค์ ์ ๊ฑฐ
npm uninstall eslint prettier eslint-config-prettier \
@typescript-eslint/parser @typescript-eslint/eslint-plugin
// 2. Biome ์ค์น
npm install --save-dev @biomejs/biome
// 3. ๊ธฐ์กด .eslintrc, .prettierrc ์ญ์
rm .eslintrc.js .prettierrc
// 4. biome.json ์์ฑ ๋ฐ ์ค์
npx @biomejs/biome init
// 5. VS Code ์ค์ (.vscode/settings.json)
{
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
// ESLint, Prettier ํ์ฅ ๋นํ์ฑํ
"eslint.enable": false,
"prettier.enable": false
}
// 6. pre-commit hook ์ค์ (husky + lint-staged ๋์ฒด)
// package.json
{
"scripts": {
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,json}": [
"biome check --apply --no-errors-on-unmatched"
]
}
}
Tech Lead Park:
"Every time I set up a new project these days, it takes a lot of time to configure ESLint, Prettier, and TypeScript. In particular, because of conflicts between ESLint and Prettier, I even have to add plugins like eslint-config-prettier. Shall we look into integrated tools like Rome or Biome?"
Frontend Engineer Lee:
"I was interested too. But I heard that Rome's development has almost stopped because the company got into trouble. Biome is a project forked from Rome, and it is being actively developed under community leadership. Releases are steady as well."
Senior Developer Kim:
"Another advantage of Biome is performance. Because it is written in Rust, it is more than 10 times faster than ESLint. I heard that linting in our monorepo, which used to take 2 minutes, dropped to around 10 seconds. It seems like it would help a lot in reducing CI time as well."
Tech Lead Park:
"Does it cover all of our existing ESLint rules? We have a few custom rules..."
Frontend Engineer Lee:
"Most of the recommended rules are covered, but its plugin ecosystem is not as large as ESLint's. In particular, it has React hooks rules and accessibility rules, but plugins specific to certain frameworks may be lacking. I think it would be good to try it out on a small project first."
Junior Developer Choi:
"To migrate to Biome, do we have to change all of our existing project settings? I'm worried because we put a lot of effort into our ESLint configuration."
Senior Developer Kim:
"You can do it gradually. First, use Biome only as a formatter and keep ESLint. You just remove Prettier and use Biome format. After that, you can gradually disable ESLint rules, starting with the ones that the Biome linter covers."
Junior Developer Choi:
"How about IDE support? In VS Code, auto-formatting on save and displaying lint errors are important..."
Senior Developer Kim:
"There is an official Biome extension for VS Code. It supports format on save, inline display of lint errors, and even auto-fix. You just set defaultFormatter to biomejs.biome in settings.json. There are plugins for JetBrains IDEs as well."
Tech Lead Park:
"One thing to watch out for is that Biome's formatting results are not 100% identical to Prettier's. There are subtle differences, so a lot of code diffs may appear during migration. It's best to apply just the formatting in a separate PR first."
Interviewer:
"Do you have any experience using Rome or Biome? What were the pros and cons compared to ESLint + Prettier?"
Candidate:
"I used Biome in a side project. The biggest advantage is speed. Because it is written in Rust, it was more than 10 times faster than the ESLint + Prettier combination, and the configuration was also unified into a single biome.json file, which made it easy to manage. As for the downside, its rules are limited compared to the ESLint plugin ecosystem, so for some projects I had to use ESLint alongside it."
Interviewer:
"What would you consider if you were to adopt it in a production project?"
Candidate:
"First, I would check whether the ESLint rules we currently use are covered by Biome. Then I would adopt it gradually, switching only the formatter first and migrating the linter step by step after reviewing rule coverage. I expect the improvement in CI pipeline speed to be significant."
Take a mock interview on this topic โ WIA SOOM AI Interview ยท Start for free
Because Rome Tools Inc. ceased operations, the original Rome project is no longer actively maintained. Migrate to the Biome project, which the community forked in August 2023. Biome carries on Rome's features, with continuous updates and bug fixes. You must also use the @biomejs/biome npm package.
Compared to ESLint's vast plugin ecosystem (React, Vue, a11y, import, etc.), Biome's rule coverage is limited. In particular, complex rules such as eslint-plugin-react-hooks and eslint-plugin-import are only partially supported. First check whether the ESLint plugins your project relies on are covered by Biome.
The Biome formatter is mostly compatible with Prettier, but it is not 100% identical. There are subtle differences, especially in JSX formatting, object property sorting, and how long lines are handled. When migrating from an existing project that uses Prettier, many code diffs may appear, so separate formatting changes into their own commit to make code review easier.