| { |
| "$schema": "https://biomejs.dev/schemas/2.4.7/schema.json", |
| "vcs": { |
| "enabled": true, |
| "clientKind": "git", |
| "useIgnoreFile": true |
| }, |
| "files": { |
| "ignoreUnknown": true, |
| "includes": ["**", "!tests/fixtures/**"] |
| }, |
| "formatter": { |
| "enabled": false |
| }, |
| "overrides": [ |
| { |
| "includes": ["src/generated/**"], |
| "linter": { "enabled": false } |
| }, |
| { |
| "includes": ["public/**"], |
| "linter": { "enabled": false } |
| }, |
| { |
| "includes": ["pro-test/**"], |
| "linter": { "enabled": false } |
| }, |
| { |
| "includes": ["*.html", "**/*.html"], |
| "linter": { |
| "rules": { |
| "suspicious": { "noVar": "off" }, |
| "correctness": { "noInnerDeclarations": "off" }, |
| "a11y": { "useButtonType": "off", "useValidAnchor": "off" } |
| } |
| } |
| } |
| ], |
| "linter": { |
| "enabled": true, |
| "rules": { |
| "recommended": true, |
| "correctness": { |
| "noUnusedVariables": "off", |
| "noUnusedImports": "off", |
| "noUndeclaredVariables": "off" |
| }, |
| "suspicious": { |
| "noExplicitAny": "off", |
| "noAssignInExpressions": "off", |
| "noDoubleEquals": "warn", |
| "noConsole": "off", |
| "noFallthroughSwitchClause": "error", |
| "noGlobalAssign": "error", |
| "noRedeclare": "error", |
| "noVar": "error", |
| "noControlCharactersInRegex": "off", |
| "noTemplateCurlyInString": "off", |
| "noEmptyBlock": "off", |
| "noImplicitAnyLet": "off", |
| "useIterableCallbackReturn": "off", |
| "noDocumentCookie": "off", |
| "noDuplicateProperties": "off", |
| "noPrototypeBuiltins": "off", |
| "noConfusingVoidType": "off" |
| }, |
| "style": { |
| "noNonNullAssertion": "off", |
| "useConst": "warn", |
| "useTemplate": "off", |
| "useDefaultParameterLast": "warn", |
| "noParameterAssign": "off", |
| "useNodejsImportProtocol": "off", |
| "noUnusedTemplateLiteral": "off", |
| "useImportType": "off", |
| "useArrayLiterals": "warn", |
| "noDescendingSpecificity": "off" |
| }, |
| "complexity": { |
| "noForEach": "off", |
| "noImportantStyles": "off", |
| "useLiteralKeys": "off", |
| "useFlatMap": "warn", |
| "useOptionalChain": "off", |
| "noUselessSwitchCase": "warn", |
| "noUselessConstructor": "warn", |
| "noStaticOnlyClass": "off", |
| "noArguments": "error", |
| "noBannedTypes": "off", |
| "noExcessiveCognitiveComplexity": "off" |
| }, |
| "performance": { |
| "noDelete": "off", |
| "noAccumulatingSpread": "warn" |
| }, |
| "security": { |
| "noDangerouslySetInnerHtml": "off" |
| } |
| } |
| }, |
| "javascript": { |
| "globals": ["globalThis"] |
| }, |
| "assist": { |
| "enabled": false |
| } |
| } |
|
|