|
1 | 1 | { |
2 | | - "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
3 | | - "formatter": { |
4 | | - "enabled": true, |
5 | | - "formatWithErrors": false, |
6 | | - "indentStyle": "space", |
7 | | - "indentWidth": 2, |
8 | | - "lineEnding": "lf", |
9 | | - "lineWidth": 80, |
10 | | - "attributePosition": "auto" |
11 | | - }, |
12 | | - "assist": { |
13 | | - "actions": { |
14 | | - "source": { |
15 | | - "organizeImports": "on" |
16 | | - } |
17 | | - } |
18 | | - }, |
19 | | - "linter": { |
20 | | - "enabled": true, |
21 | | - "rules": { |
22 | | - "recommended": false, |
23 | | - "nursery": { |
24 | | - "useSortedClasses": "error" |
25 | | - } |
26 | | - } |
27 | | - }, |
28 | | - "javascript": { |
29 | | - "formatter": { |
30 | | - "jsxQuoteStyle": "double", |
31 | | - "quoteProperties": "asNeeded", |
32 | | - "trailingCommas": "all", |
33 | | - "semicolons": "always", |
34 | | - "arrowParentheses": "asNeeded", |
35 | | - "bracketSpacing": true, |
36 | | - "bracketSameLine": false, |
37 | | - "quoteStyle": "double", |
38 | | - "attributePosition": "auto" |
39 | | - } |
40 | | - }, |
41 | | - "json": { |
42 | | - "formatter": { |
43 | | - "trailingCommas": "none" |
44 | | - } |
45 | | - } |
| 2 | + "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
| 3 | + "vcs": { |
| 4 | + "enabled": true, |
| 5 | + "clientKind": "git", |
| 6 | + "useIgnoreFile": true |
| 7 | + }, |
| 8 | + "files": { "ignoreUnknown": false, "includes": ["**"] }, |
| 9 | + "formatter": { "enabled": true }, |
| 10 | + "assist": { "actions": { "source": { "organizeImports": "on" } } }, |
| 11 | + "linter": { |
| 12 | + "enabled": true, |
| 13 | + "rules": { |
| 14 | + "nursery": { |
| 15 | + "useSortedClasses": { |
| 16 | + "level": "warn", |
| 17 | + "fix": "safe", |
| 18 | + "options": { |
| 19 | + "functions": ["clsx", "cva", "cn"] |
| 20 | + } |
| 21 | + } |
| 22 | + }, |
| 23 | + "suspicious": { |
| 24 | + "noArrayIndexKey": "off" |
| 25 | + }, |
| 26 | + "a11y": { |
| 27 | + "noSvgWithoutTitle": "off" |
| 28 | + }, |
| 29 | + "correctness": { |
| 30 | + "useExhaustiveDependencies": "off" |
| 31 | + }, |
| 32 | + "recommended": true, |
| 33 | + "style": { |
| 34 | + "noNonNullAssertion": "off", |
| 35 | + "noParameterAssign": "error", |
| 36 | + "useAsConstAssertion": "error", |
| 37 | + "useDefaultParameterLast": "error", |
| 38 | + "useEnumInitializers": "error", |
| 39 | + "useSelfClosingElements": "error", |
| 40 | + "useSingleVarDeclarator": "error", |
| 41 | + "noUnusedTemplateLiteral": "error", |
| 42 | + "useNumberNamespace": "error", |
| 43 | + "noInferrableTypes": "error", |
| 44 | + "noUselessElse": "error" |
| 45 | + } |
| 46 | + } |
| 47 | + } |
46 | 48 | } |
0 commit comments