@doremijs/biome-config
Version:
Shared biome configuration for workspace
86 lines (85 loc) • 1.84 kB
JSON
{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"files": {
"includes": [
"**/*",
"!**/node_modules",
"!**/dist",
"!**/build",
"!**/coverage",
"!**/tmp",
"!**/logs",
"!**/docs",
"!**/test",
"!**/tests",
"!**/examples",
"!**/demo",
"!**/example",
"!**/public/**/*.js",
"!**/{.claude,.agent}/**/*"
],
"ignoreUnknown": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noBannedTypes": "off"
},
"correctness": {
"noUnusedImports": "warn",
"useExhaustiveDependencies": "warn"
},
"style": {
"noNonNullAssertion": "warn"
},
"suspicious": {
"noExplicitAny": "warn",
"noAsyncPromiseExecutor": "off",
"noArrayIndexKey": "warn"
},
"a11y": {
"noAutofocus": "off",
"useButtonType": "off",
"useKeyWithClickEvents": "off",
"useMediaCaption": "warn",
"useValidAnchor": "off"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 120
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"javascript": {
"formatter": {
"enabled": true,
"arrowParentheses": "asNeeded",
"bracketSpacing": true,
"bracketSameLine": false,
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "none"
}
},
"css": {
"parser": {
"cssModules": true
},
"formatter": {
"enabled": true
}
}
}