|
1 | 1 | {
|
2 |
| - "$schema": "https://biomejs.dev/schemas/1.8.0/schema.json", |
| 2 | + "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
3 | 3 | "files": {
|
4 | 4 | "maxSize": 5242880,
|
5 |
| - "ignore": ["**/__fixtures__/**", "package.json"] |
| 5 | + "includes": ["**", "!**/__fixtures__/**", "!**/package.json"] |
6 | 6 | },
|
7 | 7 | "formatter": {
|
8 | 8 | "enabled": true,
|
|
11 | 11 | },
|
12 | 12 | "linter": {
|
13 | 13 | "rules": {
|
14 |
| - "recommended": true, |
15 |
| - "complexity": { |
16 |
| - "noForEach": "off" |
17 |
| - }, |
18 |
| - "correctness": { |
19 |
| - "noNewSymbol": "error", |
20 |
| - "noUndeclaredVariables": "error", |
21 |
| - "noUnusedVariables": "error" |
22 |
| - }, |
23 | 14 | "style": {
|
24 | 15 | "noNamespace": "error",
|
25 | 16 | "useConsistentArrayType": {
|
26 | 17 | "level": "error",
|
27 | 18 | "options": { "syntax": "shorthand" }
|
28 |
| - } |
| 19 | + }, |
| 20 | + "useLiteralEnumMembers": "error", |
| 21 | + "noCommaOperator": "error", |
| 22 | + "useNodejsImportProtocol": "error", |
| 23 | + "useAsConstAssertion": "error", |
| 24 | + "useNumericLiterals": "error", |
| 25 | + "useEnumInitializers": "error", |
| 26 | + "useSelfClosingElements": "error", |
| 27 | + "useConst": "error", |
| 28 | + "useSingleVarDeclarator": "error", |
| 29 | + "noUnusedTemplateLiteral": "error", |
| 30 | + "useNumberNamespace": "error", |
| 31 | + "noInferrableTypes": "error", |
| 32 | + "useExponentiationOperator": "error", |
| 33 | + "useTemplate": "error", |
| 34 | + "noParameterAssign": "error", |
| 35 | + "noNonNullAssertion": "error", |
| 36 | + "useDefaultParameterLast": "error", |
| 37 | + "noArguments": "error", |
| 38 | + "useImportType": "error", |
| 39 | + "useExportType": "error", |
| 40 | + "noUselessElse": "error", |
| 41 | + "useShorthandFunctionType": "error" |
| 42 | + }, |
| 43 | + "correctness": { |
| 44 | + "noInvalidBuiltinInstantiation": { |
| 45 | + "level": "error" |
| 46 | + }, |
| 47 | + "noUndeclaredVariables": "error", |
| 48 | + "noUnusedVariables": "error" |
| 49 | + }, |
| 50 | + "complexity": { |
| 51 | + "noForEach": "off" |
29 | 52 | },
|
30 | 53 | "suspicious": {
|
31 | 54 | "noEmptyBlockStatements": "error"
|
|
0 commit comments