tools README

The project's README from github.com/rome/tools. As one markdown file: README.md.

[!IMPORTANT]

Welcome to Biome, the community successor of Rome!

[!WARNING]

Rome won't be maintained anymore by the same people that maintained it so far. Biome will provide new features and fixes.

Rome's logo depicting an ancient Roman arch with the word Rome to its side

MIT licensed Discord chat CI on main npm version VSCode version

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.

Documentation

Check out our homepage to learn more about Rome, or directly head to the Getting Started guide if you want to start using Rome.

Technical documentation

Browse Rome's internal Rust API Documentation if you're interested to learn more about how Rome works.

tools (rome/tools)

Searching Database…

23.4K ·GitHub
archived
这是什么东西?Rome 是一个面向 JavaScript、TypeScript 和 Web 的统一工具链:一个程序就能完成代码格式化、代码检查和打包,目标是取代 Babel、ESLint、webpack、Prettier、Jest 这类各自独立的工具。
它是一堆拼在一起的独立工具,还是一个程序?是一个程序。Rome 把原本分散在各个工具里的功能整合在一起,所以格式化、代码检查和打包共用同一个基础——统一的错误展示、并行执行、缓存,以及一份配置文件。
我怎么把它跑起来?按照 Rome 官网上的入门指南操作;该工具以 npm 包的形式发布,还提供 VSCode 扩展,方便在编辑器里集成使用。
运行之前我还需要装别的东西吗?不需要额外装什么:Rome 用 Rust 编写,以编译好的二进制程序运行;它通过 npm 包分发,另外还提供 VSCode 扩展。
Rome 还在维护吗?没有了。原团队已停止维护,代码仓库现在引导用户转向 Biome——由社区接手的后续项目,会继续推出新功能和修复。
可以免费使用吗,包括商用?可以——采用 MIT 许可证,任何用途都免费;该项目还依据 Contributor Covenant 行为准则进行社区管理。
为什么选一个统一工具,而不是 ESLint 加 Prettier 加 webpack?因为共享同一套基础能带来一致的体验:各工具的错误展示风格统一、任务并行执行、支持缓存,而且只需一份配置文件,不用维护多份互相重叠的配置。
Biome 是什么?我是不是应该直接用它?Biome 是由社区维护的 Rome 后续项目;Rome 仓库自己也声明新功能和修复将由 Biome 提供,所以新项目建议优先考虑 Biome。
Rome 需要多少配置?设计上几乎不需要:Rome 内置了一套合理的默认约定,力求在最少配置的情况下就能直接使用。
What are similar projects?biome, oxc, closure-compiler, knip, prettier, stylelint, ruff, snowpack
Creator
rome
Size
141.6 MB
Stars
23.4K
Age
6y
Commits · 90 Days