biome configuration
Biome configuration for my projects
First published on 2025-06-17.
Last updated on 2025-06-17.
Last updated on 2025-06-17.
{
"scripts": {
"biome:format": "pnpm biome format --write .",
"biome:lint": "pnpm biome lint --write ./app",
"biome:imports": "biome check --formatter-enabled=false --linter-enabled=false --organize-imports-enabled=true --write ./src"
},
}
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
"files": { "ignoreUnknown": false, "ignore": [] },
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto",
"bracketSpacing": true,
"ignore": ["**/*.mdx", "**/pnpm-lock.yaml", ".next/**"]
},
"organizeImports": { "enabled": true },
"linter": { "enabled": true, "rules": { "recommended": false } },
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto",
"bracketSpacing": true
}
}
}
Listed under tags:
config