|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", |
| 3 | + "vcs": { |
| 4 | + "clientKind": "git", |
| 5 | + "enabled": false, |
| 6 | + "useIgnoreFile": false |
| 7 | + }, |
| 8 | + "files": { |
| 9 | + "include": [ |
| 10 | + "packages/*/__stories__/**/*.ts", |
| 11 | + "packages/*/__stories__/**/*.tsx", |
| 12 | + "packages/*/src/**/*.ts", |
| 13 | + "packages/*/src/**/*.tsx" |
| 14 | + ], |
| 15 | + "ignoreUnknown": true, |
| 16 | + "ignore": ["**/*.d.ts"] |
| 17 | + }, |
| 18 | + "formatter": { |
| 19 | + "enabled": false |
| 20 | + }, |
| 21 | + "organizeImports": { |
| 22 | + "enabled": false |
| 23 | + }, |
| 24 | + "linter": { |
| 25 | + "enabled": true, |
| 26 | + "rules": { |
| 27 | + "recommended": true, |
| 28 | + "a11y": { |
| 29 | + "noSvgWithoutTitle": "off", |
| 30 | + "useAltText": "off", |
| 31 | + "useIframeTitle": "off", |
| 32 | + "useSemanticElements": "off", |
| 33 | + "useValidAriaRole": "off" |
| 34 | + }, |
| 35 | + "complexity": { |
| 36 | + "noForEach": "off", |
| 37 | + "useLiteralKeys": "off" |
| 38 | + }, |
| 39 | + "correctness": { |
| 40 | + "noFlatMapIdentity": "off", |
| 41 | + "noUnusedVariables": "error", |
| 42 | + "noVoidTypeReturn": "off", |
| 43 | + "useArrayLiterals": "error", |
| 44 | + "useHookAtTopLevel": "warn", |
| 45 | + "useJsxKeyInIterable": "off" |
| 46 | + }, |
| 47 | + "nursery": { |
| 48 | + "noCommonJs": "error" |
| 49 | + }, |
| 50 | + "style": { |
| 51 | + "noImplicitBoolean": "error", |
| 52 | + "noNamespace": "error", |
| 53 | + "noUselessElse": "off", |
| 54 | + "useBlockStatements": "warn", |
| 55 | + "useImportType": "off", |
| 56 | + "useTemplate": "off" |
| 57 | + }, |
| 58 | + "suspicious": { |
| 59 | + "noArrayIndexKey": "off", |
| 60 | + "noMisleadingCharacterClass": "off", |
| 61 | + "noConfusingVoidType": "off", |
| 62 | + "noShadowRestrictedNames": "off" |
| 63 | + } |
| 64 | + } |
| 65 | + } |
| 66 | +} |
0 commit comments