|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json", |
| 3 | + "vcs": { |
| 4 | + "enabled": true, |
| 5 | + "clientKind": "git", |
| 6 | + "useIgnoreFile": true, |
| 7 | + }, |
| 8 | + "files": { |
| 9 | + "ignoreUnknown": false, |
| 10 | + }, |
| 11 | + "formatter": { |
| 12 | + "enabled": true, |
| 13 | + "indentStyle": "space", |
| 14 | + "indentWidth": 2, |
| 15 | + "lineWidth": 80, |
| 16 | + "lineEnding": "lf", |
| 17 | + }, |
| 18 | + "linter": { |
| 19 | + "enabled": true, |
| 20 | + "rules": { |
| 21 | + "recommended": true, |
| 22 | + "correctness": { |
| 23 | + // TODO: Re-enable after fixing unused function parameters across the codebase |
| 24 | + "noUnusedFunctionParameters": "off", |
| 25 | + // TODO: Re-enable after cleaning up unused imports |
| 26 | + "noUnusedImports": "off", |
| 27 | + // TODO: Re-enable after fixing unused variables |
| 28 | + "noUnusedVariables": "off", |
| 29 | + // TODO: Consider re-enabling - disabled for parseInt without radix |
| 30 | + "useParseIntRadix": "off", |
| 31 | + // TODO: Re-enable after fixing React hook dependencies |
| 32 | + "useExhaustiveDependencies": "off", |
| 33 | + // TODO: Re-enable after fixing unknown CSS media features |
| 34 | + "noUnknownMediaFeatureName": "off", |
| 35 | + }, |
| 36 | + "suspicious": { |
| 37 | + // TODO: Re-enable after adding proper TypeScript types |
| 38 | + "noExplicitAny": "off", |
| 39 | + // TODO: Re-enable if not using document.cookie directly |
| 40 | + "noDocumentCookie": "off", |
| 41 | + // TODO: Re-enable after verifying CSS @rules |
| 42 | + "noUnknownAtRules": "off", |
| 43 | + // TODO: Already fixed duplicate properties, can be re-enabled |
| 44 | + "noDuplicateProperties": "off", |
| 45 | + // TODO: Already fixed suspicious semicolons, can be re-enabled |
| 46 | + "noSuspiciousSemicolonInJsx": "off", |
| 47 | + // TODO: Consider re-enabling after reviewing array key usage |
| 48 | + "noArrayIndexKey": "off", |
| 49 | + // TODO: Re-enable after reviewing iterable callback returns |
| 50 | + "useIterableCallbackReturn": "off", |
| 51 | + // TODO: Re-enable after switching to Number.isNaN |
| 52 | + "noGlobalIsNan": "off", |
| 53 | + }, |
| 54 | + "a11y": { |
| 55 | + // TODO: Re-enable after adding titles to SVGs |
| 56 | + "noSvgWithoutTitle": "off", |
| 57 | + // TODO: Re-enable after fixing anchor elements |
| 58 | + "useValidAnchor": "off", |
| 59 | + // TODO: Re-enable after adding keyboard handlers to interactive elements |
| 60 | + "noStaticElementInteractions": "off", |
| 61 | + }, |
| 62 | + "style": { |
| 63 | + // TODO: Re-enable if using Node.js import protocol |
| 64 | + "useNodejsImportProtocol": "off", |
| 65 | + // TODO: Re-enable after reviewing non-null assertions |
| 66 | + "noNonNullAssertion": "off", |
| 67 | + // TODO: Re-enable after adding import type annotations |
| 68 | + "useImportType": "off", |
| 69 | + // TODO: Re-enable after reviewing const vs let usage in Svelte components |
| 70 | + "useConst": "off", |
| 71 | + }, |
| 72 | + "performance": { |
| 73 | + // TODO: Re-enable after reviewing delete operations in tests |
| 74 | + "noDelete": "off", |
| 75 | + }, |
| 76 | + "security": { |
| 77 | + // TODO: Re-enable after reviewing dangerouslySetInnerHTML usage |
| 78 | + "noDangerouslySetInnerHtml": "off", |
| 79 | + }, |
| 80 | + "complexity": { |
| 81 | + // TODO: Re-enable after reviewing React fragments usage |
| 82 | + "noUselessFragments": "off", |
| 83 | + }, |
| 84 | + }, |
| 85 | + }, |
| 86 | + "javascript": { |
| 87 | + "formatter": { |
| 88 | + "quoteStyle": "single", |
| 89 | + "jsxQuoteStyle": "double", |
| 90 | + "semicolons": "always", |
| 91 | + "trailingCommas": "all", |
| 92 | + }, |
| 93 | + }, |
| 94 | + "assist": { |
| 95 | + // TODO: Re-enable assist after initial migration |
| 96 | + "enabled": false, |
| 97 | + }, |
| 98 | + "css": { |
| 99 | + "parser": { |
| 100 | + "cssModules": true, |
| 101 | + "tailwindDirectives": true, |
| 102 | + }, |
| 103 | + "linter": { |
| 104 | + // TODO: Re-enable after initial migration |
| 105 | + "enabled": false, |
| 106 | + }, |
| 107 | + }, |
| 108 | +} |
0 commit comments