|
1 | 1 | { |
2 | 2 | "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
3 | 3 | "files": { |
4 | | - "include": [ |
5 | | - "src/**/*.ts", |
6 | | - "src/**/*.js", |
7 | | - "scripts/*.js", |
8 | | - "scripts/*.mjs", |
9 | | - "stories/*.ts" |
10 | | - ], |
11 | | - "ignore": ["dist/**/*"] |
| 4 | + "includes": ["**/src/**/*.ts", "**/src/**/*.js", "**/stories/**/*.ts"] |
12 | 5 | }, |
13 | 6 | "vcs": { |
14 | 7 | "clientKind": "git", |
15 | 8 | "useIgnoreFile": true |
16 | 9 | }, |
17 | | - "organizeImports": { |
18 | | - "enabled": true |
19 | | - }, |
| 10 | + "assist": { "actions": { "source": { "organizeImports": "on" } } }, |
20 | 11 | "formatter": { |
21 | 12 | "enabled": false |
22 | 13 | }, |
|
33 | 24 | "noUnusedFunctionParameters": "error", |
34 | 25 | "noUnusedImports": "error", |
35 | 26 | "noUnusedPrivateClassMembers": "error", |
36 | | - "useImportExtensions": { |
37 | | - "options": { |
38 | | - "suggestedExtensions": { |
39 | | - "ts": { "component": "js", "module": "js" } |
40 | | - } |
41 | | - }, |
42 | | - "level": "error" |
43 | | - } |
| 27 | + "useImportExtensions": "error" |
44 | 28 | }, |
45 | 29 | "style": { |
46 | 30 | "noNamespace": "error", |
47 | 31 | "useCollapsedElseIf": "error", |
48 | | - "noNonNullAssertion": "off" |
| 32 | + "noNonNullAssertion": "off", |
| 33 | + "noParameterAssign": "error", |
| 34 | + "useAsConstAssertion": "error", |
| 35 | + "useDefaultParameterLast": "error", |
| 36 | + "useEnumInitializers": "error", |
| 37 | + "useSelfClosingElements": "error", |
| 38 | + "useSingleVarDeclarator": "error", |
| 39 | + "noUnusedTemplateLiteral": "error", |
| 40 | + "useNumberNamespace": "error", |
| 41 | + "noInferrableTypes": "error", |
| 42 | + "noUselessElse": "error" |
49 | 43 | }, |
50 | 44 | "suspicious": { |
51 | 45 | "noConsole": "error", |
|
0 commit comments