mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
89 lines
2.0 KiB
JSON
89 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.3.3/schema.json",
|
|
"assist": { "actions": { "source": { "organizeImports": "off" } } },
|
|
"vcs": {
|
|
"defaultBranch": "main"
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"formatWithErrors": true
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"indentWidth": 3,
|
|
"lineWidth": 100,
|
|
"indentStyle": "space"
|
|
}
|
|
},
|
|
"css": {
|
|
"formatter": {
|
|
"indentWidth": 3
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"indentWidth": 2,
|
|
"lineWidth": 80,
|
|
"indentStyle": "space"
|
|
}
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!**/node_modules",
|
|
"!**/node_modules",
|
|
"!**/.cache",
|
|
"!**/.wrangler",
|
|
"!**/build",
|
|
"!**/dist",
|
|
"!**/data.sqld",
|
|
"!**/data.sqld",
|
|
"!**/public",
|
|
"!**/.history"
|
|
]
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"includes": ["**"],
|
|
"rules": {
|
|
"recommended": true,
|
|
"a11y": {},
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "off",
|
|
"noUnreachable": "warn",
|
|
"noChildrenProp": "off",
|
|
"noSwitchDeclarations": "warn"
|
|
},
|
|
"complexity": {
|
|
"noUselessFragments": "warn",
|
|
"noStaticOnlyClass": "off",
|
|
"noForEach": "off",
|
|
"useLiteralKeys": "warn",
|
|
"noBannedTypes": "off",
|
|
"useOptionalChain": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noArrayIndexKey": "off",
|
|
"noImplicitAnyLet": "warn",
|
|
"noConfusingVoidType": "off",
|
|
"noConsole": { "level": "warn", "options": { "allow": ["log"] } }
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"noInferrableTypes": "off",
|
|
"useTemplate": "off",
|
|
"noUselessElse": "off",
|
|
"useConst": "warn",
|
|
"useImportType": "warn",
|
|
"noUnusedTemplateLiteral": "warn",
|
|
"useSelfClosingElements": "warn"
|
|
}
|
|
}
|
|
}
|
|
}
|