|
1 | 1 | {
|
2 |
| - "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", |
3 |
| - "organizeImports": { |
4 |
| - "enabled": true |
5 |
| - }, |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json", |
| 3 | + "assist": { "actions": { "source": { "organizeImports": "on" } } }, |
6 | 4 | "vcs": {
|
7 | 5 | "enabled": true,
|
8 | 6 | "clientKind": "git",
|
9 | 7 | "useIgnoreFile": true
|
10 | 8 | },
|
11 | 9 | "files": {
|
12 |
| - "ignore": [ |
13 |
| - ".devcontainer/**", |
14 |
| - "docs/**", |
15 |
| - "translations/**", |
16 |
| - "policies/**", |
17 |
| - "crates/**", |
18 |
| - "frontend/package.json", |
19 |
| - "frontend/src/gql/**", |
20 |
| - "frontend/src/routeTree.gen.ts", |
21 |
| - "frontend/.storybook/locales.ts", |
22 |
| - "frontend/.storybook/public/mockServiceWorker.js", |
23 |
| - "frontend/locales/*.json", |
24 |
| - "**/coverage/**", |
25 |
| - "**/dist/**" |
| 10 | + "includes": [ |
| 11 | + "**", |
| 12 | + "!**/.devcontainer/**", |
| 13 | + "!**/docs/**", |
| 14 | + "!**/translations/**", |
| 15 | + "!**/policies/**", |
| 16 | + "!**/crates/**", |
| 17 | + "!**/frontend/package.json", |
| 18 | + "!**/frontend/src/gql/**", |
| 19 | + "!**/frontend/src/routeTree.gen.ts", |
| 20 | + "!**/frontend/.storybook/locales.ts", |
| 21 | + "!**/frontend/.storybook/public/mockServiceWorker.js", |
| 22 | + "!**/frontend/locales/**/*.json", |
| 23 | + "!**/coverage/**", |
| 24 | + "!**/dist/**" |
26 | 25 | ]
|
27 | 26 | },
|
28 | 27 | "formatter": {
|
|
36 | 35 | "correctness": {
|
37 | 36 | "noUnusedImports": "warn",
|
38 | 37 | "noUnusedVariables": "warn"
|
| 38 | + }, |
| 39 | + "style": { |
| 40 | + "noParameterAssign": "error", |
| 41 | + "useAsConstAssertion": "error", |
| 42 | + "useDefaultParameterLast": "error", |
| 43 | + "useEnumInitializers": "error", |
| 44 | + "useSelfClosingElements": "error", |
| 45 | + "useSingleVarDeclarator": "error", |
| 46 | + "noUnusedTemplateLiteral": "error", |
| 47 | + "useNumberNamespace": "error", |
| 48 | + "noInferrableTypes": "error", |
| 49 | + "noUselessElse": "error", |
| 50 | + "noDescendingSpecificity": "off" |
39 | 51 | }
|
40 | 52 | }
|
41 | 53 | }
|
|
0 commit comments