|
1 | 1 | { |
2 | | - "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
3 | | - "vcs": { |
4 | | - "enabled": true, |
5 | | - "clientKind": "git", |
6 | | - "useIgnoreFile": true, |
7 | | - "defaultBranch": "main" |
8 | | - }, |
9 | | - "assist": { |
10 | | - "enabled": true |
11 | | - }, |
12 | | - "formatter": { |
13 | | - "enabled": true, |
14 | | - "formatWithErrors": false, |
15 | | - "indentStyle": "space", |
16 | | - "indentWidth": 2, |
17 | | - "lineEnding": "lf", |
18 | | - "lineWidth": 80, |
19 | | - "attributePosition": "auto" |
20 | | - }, |
21 | | - "linter": { |
22 | | - "enabled": true, |
23 | | - "rules": { |
24 | | - "recommended": true, |
25 | | - "complexity": { |
26 | | - "noBannedTypes": "off" |
27 | | - }, |
28 | | - "correctness": { |
29 | | - "noUnusedImports": "error" |
30 | | - }, |
31 | | - "style": { |
32 | | - "useNodejsImportProtocol": "warn", |
33 | | - "noNonNullAssertion": { |
34 | | - "fix": "none", |
35 | | - "level": "info" |
36 | | - }, |
37 | | - "noParameterAssign": "off" |
38 | | - }, |
39 | | - "suspicious": { |
40 | | - "noExplicitAny": "info", |
41 | | - "noDoubleEquals": "warn", |
42 | | - "noAssignInExpressions": "off", |
43 | | - "noEmptyInterface": "off" |
44 | | - } |
45 | | - } |
46 | | - }, |
47 | | - "javascript": { |
48 | | - "formatter": { |
| 2 | + "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
| 3 | + "vcs": { |
| 4 | + "enabled": true, |
| 5 | + "clientKind": "git", |
| 6 | + "useIgnoreFile": true, |
| 7 | + "defaultBranch": "main" |
| 8 | + }, |
| 9 | + "assist": { |
| 10 | + "enabled": true |
| 11 | + }, |
| 12 | + "formatter": { |
| 13 | + "enabled": true, |
| 14 | + "formatWithErrors": false, |
| 15 | + "indentStyle": "space", |
| 16 | + "indentWidth": 2, |
| 17 | + "lineEnding": "lf", |
| 18 | + "lineWidth": 80, |
| 19 | + "attributePosition": "auto" |
| 20 | + }, |
| 21 | + "linter": { |
| 22 | + "enabled": true, |
| 23 | + "rules": { |
| 24 | + "recommended": true, |
| 25 | + "complexity": { |
| 26 | + "noBannedTypes": "off" |
| 27 | + }, |
| 28 | + "correctness": { |
| 29 | + "noUnusedImports": "error" |
| 30 | + }, |
| 31 | + "style": { |
| 32 | + "useNodejsImportProtocol": "warn", |
| 33 | + "noNonNullAssertion": { |
| 34 | + "fix": "none", |
| 35 | + "level": "info" |
| 36 | + }, |
| 37 | + "noParameterAssign": "off" |
| 38 | + }, |
| 39 | + "suspicious": { |
| 40 | + "noExplicitAny": "info", |
| 41 | + "noDoubleEquals": "warn", |
| 42 | + "noAssignInExpressions": "off", |
| 43 | + "noEmptyInterface": "off" |
| 44 | + } |
| 45 | + } |
| 46 | + }, |
| 47 | + "javascript": { |
| 48 | + "formatter": { |
49 | 49 | "indentStyle": "space", |
50 | | - "jsxQuoteStyle": "double", |
51 | | - "quoteProperties": "asNeeded", |
52 | | - "trailingCommas": "all", |
53 | | - "semicolons": "always", |
54 | | - "arrowParentheses": "always", |
55 | | - "bracketSpacing": true, |
56 | | - "bracketSameLine": false, |
57 | | - "quoteStyle": "single", |
58 | | - "attributePosition": "auto" |
59 | | - } |
60 | | - } |
| 50 | + "jsxQuoteStyle": "double", |
| 51 | + "quoteProperties": "asNeeded", |
| 52 | + "trailingCommas": "all", |
| 53 | + "semicolons": "always", |
| 54 | + "arrowParentheses": "always", |
| 55 | + "bracketSpacing": true, |
| 56 | + "bracketSameLine": false, |
| 57 | + "quoteStyle": "single", |
| 58 | + "attributePosition": "auto" |
| 59 | + } |
| 60 | + } |
61 | 61 | } |
0 commit comments