|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json", |
| 3 | + "linter": { |
| 4 | + "enabled": true, |
| 5 | + "rules": { |
| 6 | + "style": { |
| 7 | + "useSingleVarDeclarator": "off", |
| 8 | + "useImportType": "off", |
| 9 | + "noNonNullAssertion": "off", |
| 10 | + "useTemplate": "off", |
| 11 | + "noParameterAssign": "warn", |
| 12 | + "useNodejsImportProtocol": "off" |
| 13 | + }, |
| 14 | + "a11y": { |
| 15 | + "useAltText": "warn", |
| 16 | + "noSvgWithoutTitle": "warn", |
| 17 | + "useKeyWithClickEvents": "off", |
| 18 | + "useSemanticElements": "warn", |
| 19 | + "noStaticElementInteractions": "warn" |
| 20 | + }, |
| 21 | + "suspicious": { |
| 22 | + "noAssignInExpressions": "warn", |
| 23 | + "noExplicitAny": "off", |
| 24 | + "noArrayIndexKey": "off" |
| 25 | + }, |
| 26 | + "correctness": { |
| 27 | + "noEmptyPattern": "off", |
| 28 | + "noUnusedFunctionParameters": "warn" |
| 29 | + }, |
| 30 | + "complexity": { |
| 31 | + "noBannedTypes": "off", |
| 32 | + "noCommaOperator": "warn" |
| 33 | + }, |
| 34 | + "performance": { |
| 35 | + "noDynamicNamespaceImportAccess": "warn" |
| 36 | + } |
| 37 | + } |
| 38 | + }, |
| 39 | + "formatter": { |
| 40 | + "enabled": true, |
| 41 | + "formatWithErrors": true, |
| 42 | + "indentStyle": "space", |
| 43 | + "indentWidth": 2, |
| 44 | + "bracketSpacing": true, |
| 45 | + "bracketSameLine": false, |
| 46 | + "lineWidth": 80 |
| 47 | + }, |
| 48 | + "javascript": { |
| 49 | + "formatter": { |
| 50 | + "arrowParentheses": "always", |
| 51 | + "jsxQuoteStyle": "double", |
| 52 | + "quoteStyle": "double", |
| 53 | + "trailingCommas": "all", |
| 54 | + "semicolons": "always" |
| 55 | + } |
| 56 | + }, |
| 57 | + "json": { |
| 58 | + "formatter": { |
| 59 | + "trailingCommas": "none" |
| 60 | + } |
| 61 | + }, |
| 62 | + "css": { |
| 63 | + "parser": { |
| 64 | + "tailwindDirectives": true |
| 65 | + } |
| 66 | + }, |
| 67 | + "assist": { |
| 68 | + "enabled": true, |
| 69 | + "actions": { |
| 70 | + "source": { |
| 71 | + "recommended": true |
| 72 | + } |
| 73 | + } |
| 74 | + }, |
| 75 | + "files": { |
| 76 | + "includes": ["**", "!.next", "!dist", "!build"], |
| 77 | + "maxSize": 5242880 |
| 78 | + } |
| 79 | +} |
0 commit comments