Biome
Biome is a fast, all-in-one toolchain for formatting, linting, and more - built in Rust for maximum performance.
Presentation
Pre-configured Biome formatter and linter with project-specific rules, import sorting, and sensible defaults for TypeScript/React projects.
What create-faster adds
Beyond the official setup, we include:
Opinionated Configuration:
- Single quotes for JS/TS and JSX
- 2-space indentation, 120 character line width
- Semicolons always required
- Trailing commas everywhere (except JSON)
- LF line endings (Unix-style)
Automatic Import Sorting:
- Enabled via
assist.actions.source.organizeImports
Relaxed Linter Rules:
noExplicitAnyoff - Allowsanytype when needednoConsoleoff - Allowsconsole.logfor debuggingnoArrayIndexKeyoff - Allows array indices as React keysnoForEachoff - Allows.forEach()loopsuseKeyWithClickEventsoff - Accessibility rule disablednoStaticElementInteractionsoff - Accessibility rule disablednoUnusedVariablesinfo level - Warnings instead of errors
Smart Exclusions:
- Framework build directories (
.next/,.turbo/,dist/,out/) - Generated code (
generated/,node_modules/) - Git hooks (
.husky/) - CSS files (handled by framework)
File created:
biome.json # Complete Biome configurationConfiguration Highlights:
- VCS integration with Git and
.gitignoresupport - Default branch:
main - Format-with-errors disabled (fail-safe)
- Recommended linter rules as base
- JSON spec-compliant formatting (no trailing commas)
Excluded Paths:
apps/app/src/app/init/**/*
packages/ui/src/components/**/*
packages/ui/src/styles/**/*
**/*.css
**/.next/**/*
**/node_modules/**/*
**/.husky/**/*
**/dist/**/*
**/out/**/*
**/generated/**/*
**/.turbo/**/*
