Files
toknd_auth/biome.json
ramvignesh-b 282618bc1c
CI / build (pull_request) Failing after 20s
test: migrate global test prefixes to explicit imports
2026-05-12 05:42:27 +05:30

78 lines
1.6 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noExcessiveCognitiveComplexity": {
"level": "error",
"options": {
"maxAllowedComplexity": 15
}
},
"noForEach": "warn",
"noUselessFragments": "error",
"noUselessTypeConstraint": "error",
"useLiteralKeys": "error",
"useSimpleNumberKeys": "error",
"noStaticOnlyClass": "error",
"noUselessEmptyExport": "error",
"noUselessThisAlias": "error"
},
"correctness": {
"noUnusedVariables": "error",
"noUndeclaredVariables": "error",
"noUnusedImports": "error",
"useExhaustiveDependencies": "warn"
},
"suspicious": {
"noExplicitAny": "warn",
"noDoubleEquals": "error",
"noShadowRestrictedNames": "error",
"noArrayIndexKey": "error",
"noAsyncPromiseExecutor": "error",
"noDebugger": "error"
},
"style": {
"noNonNullAssertion": "warn",
"useConst": "error",
"useDefaultParameterLast": "error",
"useExportType": "error",
"useFilenamingConvention": {
"level": "error",
"options": {
"strictCase": false,
"filenameCases": ["camelCase", "PascalCase"]
}
}
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineWidth": 100
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": [
{
"includes": ["tests/**/*"],
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "off"
}
}
}
}
]
}