Files

73 lines
1.6 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off",
"noStaticOnlyClass": "off",
"noBannedTypes": "warn"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "warn",
"noNonNullAssertedOptionalChain": "warn",
"useIterableCallbackReturn": "warn",
"noEmptyBlock": "warn",
"noShorthandPropertyOverrides": "warn"
},
"style": {
"noNonNullAssertion": "off",
"useConst": "error",
"useImportType": "error"
},
"correctness": {
"useExhaustiveDependencies": "warn",
"noUnusedImports": "error",
"noUnusedVariables": "warn",
"noUnusedFunctionParameters": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "warn"
},
"a11y": {
"recommended": false
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "always",
"trailingCommas": "es5"
}
},
"files": {
"includes": [
"apps/**",
"packages/**",
"sdk/typescript/**",
"!**/node_modules",
"!**/dist",
"!**/build",
"!**/release",
"!**/.turbo",
"!**/*.min.js",
"!**/package-lock.json"
]
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
}
}