Files
bknd/biome.json
2025-01-07 07:05:45 +01:00

77 lines
1.7 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
"vcs": {
"defaultBranch": "main"
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"ignore": ["**/package.json"]
},
"javascript": {
"formatter": {
"indentWidth": 3,
"lineWidth": 100,
"indentStyle": "space",
"trailingCommas": "none"
}
},
"files": {
"ignore": [
"**/node_modules/**",
"node_modules/**",
"**/.cache/**",
"**/.wrangler/**",
"**/build/**",
"**/dist/**",
"**/data.sqld/**",
"data.sqld/**",
"public/**",
".history/**"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"all": false
},
"correctness": {
"useExhaustiveDependencies": "off",
"noUnreachable": "warn",
"noChildrenProp": "off",
"noSwitchDeclarations": "warn"
},
"complexity": {
"noStaticOnlyClass": "off",
"noForEach": "off",
"useLiteralKeys": "warn",
"noBannedTypes": "off",
"useOptionalChain": "warn"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noImplicitAnyLet": "warn",
"noConfusingVoidType": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"style": {
"noNonNullAssertion": "off",
"noInferrableTypes": "off",
"useTemplate": "off",
"noUselessElse": "off",
"useConst": "warn",
"useImportType": "warn",
"noUnusedTemplateLiteral": "warn",
"useSelfClosingElements": "warn"
}
}
}
}