|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", |
| 3 | + "files": { |
| 4 | + "include": ["**/**"], |
| 5 | + "ignore": ["build", ".docusaurus", ".cache-loader"] |
| 6 | + }, |
| 7 | + "organizeImports": { |
| 8 | + "enabled": false |
| 9 | + }, |
| 10 | + "linter": { |
| 11 | + "enabled": true, |
| 12 | + "rules": { |
| 13 | + "all": true, |
| 14 | + "a11y": { |
| 15 | + "all": true |
| 16 | + }, |
| 17 | + "complexity": { |
| 18 | + "noExcessiveCognitiveComplexity": "off" |
| 19 | + }, |
| 20 | + "correctness": { |
| 21 | + "all": true, |
| 22 | + "useImportExtensions": "error", |
| 23 | + "noNodejsModules": "off", |
| 24 | + "noUndeclaredDependencies": "off" |
| 25 | + }, |
| 26 | + "nursery": { |
| 27 | + "all": true, |
| 28 | + "useImportRestrictions": "off", |
| 29 | + "noProcessEnv": "off", |
| 30 | + "noCommonJs": "off", |
| 31 | + "noSecrets": "off", |
| 32 | + "useExplicitType": "off" |
| 33 | + }, |
| 34 | + "performance": { |
| 35 | + "all": true, |
| 36 | + "noAccumulatingSpread": "error", |
| 37 | + "noBarrelFile": "error", |
| 38 | + "noDelete": "error", |
| 39 | + "noReExportAll": "error", |
| 40 | + "useTopLevelRegex": "off" |
| 41 | + }, |
| 42 | + "security": { |
| 43 | + "all": true, |
| 44 | + "noGlobalEval": "error" |
| 45 | + }, |
| 46 | + "suspicious": { |
| 47 | + "all": true, |
| 48 | + "noAsyncPromiseExecutor": "error", |
| 49 | + "useAwait": "error", |
| 50 | + "useIsArray": "error", |
| 51 | + "noEmptyBlockStatements": "off", |
| 52 | + "noConsoleLog": "off", |
| 53 | + "noMisplacedAssertion": "off", |
| 54 | + "noConsole": "off", |
| 55 | + "noReactSpecificProps": "off", |
| 56 | + "noArrayIndexKey": "off" |
| 57 | + }, |
| 58 | + "style": { |
| 59 | + "all": true, |
| 60 | + "noNonNullAssertion": "off", |
| 61 | + "useNamingConvention": "off", |
| 62 | + "useNodeAssertStrict": "off", |
| 63 | + "noNamespaceImport": "off", |
| 64 | + "useBlockStatements": "off", |
| 65 | + "noDefaultExport": "off" |
| 66 | + } |
| 67 | + } |
| 68 | + } |
| 69 | +} |
0 commit comments