|
1 | 1 | { |
2 | | - "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", |
3 | | - "diagnostics": { |
4 | | - "maxDiagnostics": 1000 |
5 | | - }, |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.2.6/schema.json", |
6 | 3 | "vcs": { |
7 | 4 | "enabled": true, |
8 | 5 | "clientKind": "git", |
9 | 6 | "useIgnoreFile": true |
10 | 7 | }, |
11 | 8 | "files": { |
12 | 9 | "ignoreUnknown": false, |
13 | | - "ignore": ["node_modules", "dist", "build", "out", "coverage", ".next", ".nuxt"] |
| 10 | + "includes": [ |
| 11 | + "**", |
| 12 | + "!**/node_modules", |
| 13 | + "!**/dist", |
| 14 | + "!**/build", |
| 15 | + "!**/out", |
| 16 | + "!**/coverage", |
| 17 | + "!**/.next", |
| 18 | + "!**/.nuxt" |
| 19 | + ] |
14 | 20 | }, |
15 | 21 | "formatter": { |
16 | 22 | "enabled": true, |
|
19 | 25 | "indentWidth": 2, |
20 | 26 | "lineWidth": 100 |
21 | 27 | }, |
22 | | - "organizeImports": { |
23 | | - "enabled": true |
24 | | - }, |
| 28 | + "assist": { "actions": { "source": { "organizeImports": "on" } } }, |
25 | 29 | "linter": { |
26 | 30 | "enabled": true, |
27 | 31 | "rules": { |
28 | 32 | "recommended": true, |
29 | 33 | "complexity": { |
30 | 34 | "noExtraBooleanCast": "error", |
31 | | - "noMultipleSpacesInRegularExpressionLiterals": "error", |
32 | 35 | "noUselessCatch": "error", |
33 | 36 | "noUselessTypeConstraint": "error", |
34 | | - "noWith": "error" |
| 37 | + "noAdjacentSpacesInRegex": "error", |
| 38 | + "noArguments": "error" |
35 | 39 | }, |
36 | 40 | "correctness": { |
37 | 41 | "noConstAssign": "error", |
|
41 | 45 | "noGlobalObjectCalls": "error", |
42 | 46 | "noInnerDeclarations": "error", |
43 | 47 | "noInvalidConstructorSuper": "error", |
44 | | - "noNewSymbol": "error", |
45 | 48 | "noNonoctalDecimalEscape": "error", |
46 | 49 | "noPrecisionLoss": "error", |
47 | 50 | "noSelfAssign": "error", |
|
56 | 59 | "noUnusedVariables": "error", |
57 | 60 | "useIsNan": "error", |
58 | 61 | "useValidForDirection": "error", |
59 | | - "useYield": "error" |
| 62 | + "useYield": "error", |
| 63 | + "noInvalidBuiltinInstantiation": "error", |
| 64 | + "useValidTypeof": "error" |
60 | 65 | }, |
61 | 66 | "security": { |
62 | 67 | "noDangerouslySetInnerHtml": "warn", |
63 | 68 | "noDangerouslySetInnerHtmlWithChildren": "error" |
64 | 69 | }, |
65 | 70 | "style": { |
66 | | - "noArguments": "error", |
67 | | - "noVar": "error", |
68 | 71 | "useConst": "error" |
69 | 72 | }, |
70 | 73 | "suspicious": { |
|
94 | 97 | "noUnsafeDeclarationMerging": "error", |
95 | 98 | "noUnsafeNegation": "error", |
96 | 99 | "useGetterReturn": "error", |
97 | | - "useValidTypeof": "error" |
| 100 | + "noWith": "error", |
| 101 | + "noVar": "error" |
98 | 102 | } |
99 | 103 | } |
100 | 104 | }, |
|
0 commit comments