Biome
One toolchain for your web project — format, lint, and more in a fraction of a second.
Dependencies
What create-faster adds
Scripts added to package.json:
format—biome format --write .lint—biome lintcheck—biome check --fix .
File created:
biome.json # Complete Biome configurationTurborepo mode: biome.json is placed at the project root and applies to all apps.
biome.json
{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"root": true,
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"files": {
"ignoreUnknown": true,
"includes": [
"**",
"!**/*.css",
"!**/.next/**/*",
"!**/node_modules/**/*",
"!**/.husky/**/*",
"!**/dist/**/*",
"!**/out/**/*",
"!**/generated/**/*",
"!**/.turbo/**/*"
]
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineEnding": "lf",
"indentWidth": 2,
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"bracketSameLine": false,
"bracketSpacing": true,
"jsxQuoteStyle": "single",
"semicolons": "always",
"trailingCommas": "all"
}
},
"json": {
"formatter": {
"trailingCommas": "none"
}
},
"linter": {
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noConsole": { "level": "off", "options": { "allow": ["log"] } }
},
"a11y": {
"useKeyWithClickEvents": "off",
"noStaticElementInteractions": "off"
},
"correctness": {
"noUnusedVariables": {
"level": "info",
"fix": "unsafe"
}
},
"complexity": {
"noForEach": "off"
},
"style": {}
}
}
}
