|
1 | 1 | { |
2 | | - "$schema": "https://biomejs.dev/schemas/1.9.3/schema.json", |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.1.4/schema.json", |
3 | 3 | "formatter": { |
4 | 4 | "enabled": true, |
5 | 5 | "formatWithErrors": false, |
|
14 | 14 | "enabled": true, |
15 | 15 | "useIgnoreFile": true |
16 | 16 | }, |
17 | | - "organizeImports": { "enabled": true }, |
| 17 | + "assist": { "actions": { "source": { "organizeImports": "on" } } }, |
18 | 18 | "linter": { |
19 | | - "ignore": ["node_modules", ".tagoio", "build"], |
| 19 | + "includes": ["**", "!**/node_modules", "!**/.tagoio", "!**/build"], |
20 | 20 | "enabled": true, |
21 | 21 | "rules": { |
22 | 22 | "recommended": false, |
23 | 23 | "complexity": { |
24 | 24 | "noBannedTypes": "warn", |
25 | 25 | "noExtraBooleanCast": "error", |
26 | 26 | "noForEach": "warn", |
27 | | - "noMultipleSpacesInRegularExpressionLiterals": "error", |
28 | 27 | "noUselessCatch": "error", |
29 | 28 | "noUselessTypeConstraint": "error", |
30 | | - "noWith": "error", |
31 | | - "useFlatMap": "warn" |
| 29 | + "useFlatMap": "warn", |
| 30 | + "noAdjacentSpacesInRegex": "error" |
32 | 31 | }, |
33 | 32 | "correctness": { |
34 | 33 | "noConstAssign": "error", |
|
38 | 37 | "noGlobalObjectCalls": "error", |
39 | 38 | "noInnerDeclarations": "error", |
40 | 39 | "noInvalidConstructorSuper": "error", |
41 | | - "noNewSymbol": "error", |
42 | 40 | "noNonoctalDecimalEscape": "error", |
43 | 41 | "noPrecisionLoss": "error", |
44 | 42 | "noSelfAssign": "error", |
|
53 | 51 | "noUnusedVariables": "error", |
54 | 52 | "useIsNan": "error", |
55 | 53 | "useValidForDirection": "error", |
56 | | - "useYield": "error" |
| 54 | + "useYield": "error", |
| 55 | + "noInvalidBuiltinInstantiation": "error", |
| 56 | + "useValidTypeof": "error" |
57 | 57 | }, |
58 | 58 | "style": { |
59 | 59 | "noDefaultExport": "warn", |
|
96 | 96 | "useAwait": "off", |
97 | 97 | "useGetterReturn": "error", |
98 | 98 | "useIsArray": "error", |
99 | | - "useValidTypeof": "error" |
| 99 | + "noWith": "error" |
100 | 100 | } |
101 | 101 | } |
102 | 102 | } |
|
0 commit comments