|
1 | 1 | { |
2 | | - "$schema": "https://biomejs.dev/schemas/1.8.2/schema.json", |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json", |
| 3 | + "vcs": { |
| 4 | + "enabled": true, |
| 5 | + "clientKind": "git", |
| 6 | + "useIgnoreFile": true |
| 7 | + }, |
3 | 8 | "files": { |
4 | | - "ignore": [ |
5 | | - "node_modules", |
6 | | - "packages/*/dist", |
7 | | - "examples/aws/.build", |
8 | | - "examples/firebase-functions/lib", |
9 | | - "coverage", |
10 | | - ".pnpm-store" |
11 | | - ] |
| 9 | + "ignoreUnknown": false, |
| 10 | + "includes": ["**", "!coverage", "!packages/*/dist", "tests/fixtures"] |
12 | 11 | }, |
13 | 12 | "formatter": { |
14 | 13 | "enabled": true, |
15 | | - "formatWithErrors": false, |
16 | | - "indentStyle": "space", |
17 | | - "indentWidth": 2, |
18 | | - "lineEnding": "lf", |
19 | | - "lineWidth": 120, |
20 | | - "attributePosition": "auto" |
21 | | - }, |
22 | | - "organizeImports": { |
23 | | - "enabled": true |
| 14 | + "indentStyle": "space" |
24 | 15 | }, |
25 | 16 | "linter": { |
26 | 17 | "enabled": true, |
27 | 18 | "rules": { |
28 | | - "recommended": true, |
29 | | - "correctness": { |
30 | | - "noVoidTypeReturn": "off" |
31 | | - }, |
32 | | - "style": { |
33 | | - "noParameterAssign": "off" |
34 | | - }, |
35 | | - "suspicious": { |
36 | | - "noAssignInExpressions": "off", |
37 | | - "noExplicitAny": "warn" |
38 | | - } |
| 19 | + "recommended": true |
39 | 20 | } |
40 | 21 | }, |
41 | 22 | "javascript": { |
42 | 23 | "formatter": { |
43 | | - "jsxQuoteStyle": "double", |
44 | | - "quoteProperties": "asNeeded", |
45 | | - "trailingCommas": "none", |
| 24 | + "quoteStyle": "single", |
46 | 25 | "semicolons": "asNeeded", |
47 | | - "arrowParentheses": "always", |
48 | | - "bracketSpacing": true, |
49 | 26 | "bracketSameLine": false, |
50 | | - "quoteStyle": "single", |
51 | | - "attributePosition": "auto" |
| 27 | + "bracketSpacing": true, |
| 28 | + "indentWidth": 2, |
| 29 | + "lineWidth": 120, |
| 30 | + "trailingCommas": "none" |
| 31 | + } |
| 32 | + }, |
| 33 | + "assist": { |
| 34 | + "enabled": true, |
| 35 | + "actions": { |
| 36 | + "source": { |
| 37 | + "organizeImports": "on" |
| 38 | + } |
52 | 39 | } |
53 | 40 | } |
54 | 41 | } |
0 commit comments