biome
A toolchain for formatting, linting, and checking code quality for web projects. More information: https://biomejs.dev/reference/cli/.
- Initialize a new Biome configuration file in the current directory:
biome init
- Format files and overwrite them in place:
biome format --write
- Check formatting without applying changes:
biome format
- Lint files and apply safe fixes:
biome lint --write
- Run format, lint, and import sorting, applying safe fixes:
biome check --write
- Run all checks in CI mode (no fixes applied, exits with error if issues found):
biome ci
- Explain a specific lint rule:
biome explain
- Display version:
biome
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
