|
1 | 1 | { |
2 | | - "$schema": "https://biomejs.dev/schemas/1.5.3/schema.json", |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.1.2/schema.json", |
3 | 3 | "vcs": { |
4 | 4 | "enabled": true, |
5 | 5 | "clientKind": "git", |
6 | 6 | "useIgnoreFile": true |
7 | 7 | }, |
8 | | - "organizeImports": { |
9 | | - "enabled": true |
10 | | - }, |
| 8 | + "assist": { "actions": { "source": { "organizeImports": "on" } } }, |
11 | 9 | "files": { |
12 | | - "ignore": [ |
13 | | - "integration-tests/**/generated/*", |
14 | | - "integration-tests-definitions/**/*", |
15 | | - "e2e/src/generated/**/*", |
16 | | - "schemas/*.json", |
17 | | - "**/package.json", |
18 | | - "package.json" |
| 10 | + "includes": [ |
| 11 | + "**", |
| 12 | + "!**/packages/openapi-code-generator/src/core/schemas/openapi-3.0-specification-validator.js", |
| 13 | + "!**/packages/openapi-code-generator/src/core/schemas/openapi-3.1-specification-validator.js", |
| 14 | + "!**/integration-tests/**/generated/**/*", |
| 15 | + "!**/integration-tests-definitions/**/*", |
| 16 | + "!**/e2e/src/generated/**/*", |
| 17 | + "!**/schemas/**/*.json", |
| 18 | + "!**/package.json", |
| 19 | + "!**/package.json" |
19 | 20 | ] |
20 | 21 | }, |
21 | 22 | "formatter": { |
|
35 | 36 | }, |
36 | 37 | "linter": { |
37 | 38 | "enabled": true, |
| 39 | + "domains": { |
| 40 | + "project": "recommended", |
| 41 | + "test": "recommended" |
| 42 | + }, |
38 | 43 | "rules": { |
39 | | - "recommended": true |
| 44 | + "recommended": true, |
| 45 | + "complexity": { |
| 46 | + "noForEach": "error" |
| 47 | + }, |
| 48 | + "nursery": { |
| 49 | + "noImportCycles": "error" |
| 50 | + }, |
| 51 | + "style": { |
| 52 | + "noParameterAssign": "error" |
| 53 | + } |
40 | 54 | }, |
41 | | - "ignore": [ |
42 | | - "packages/openapi-code-generator/src/core/schemas/openapi-3.0-specification-validator.js", |
43 | | - "packages/openapi-code-generator/src/core/schemas/openapi-3.1-specification-validator.js", |
44 | | - "integration-tests/**/generated/*", |
45 | | - "integration-tests-definitions/**/*", |
46 | | - "e2e/src/generated/**/*", |
47 | | - "schemas/*.json", |
48 | | - "**/package.json", |
49 | | - "package.json" |
| 55 | + "includes": [ |
| 56 | + "**", |
| 57 | + "!**/packages/openapi-code-generator/src/core/schemas/openapi-3.0-specification-validator.js", |
| 58 | + "!**/packages/openapi-code-generator/src/core/schemas/openapi-3.1-specification-validator.js", |
| 59 | + "!**/integration-tests/**/generated/**/*", |
| 60 | + "!**/integration-tests-definitions/**/*", |
| 61 | + "!**/e2e/src/generated/**/*", |
| 62 | + "!**/schemas/**/*.json", |
| 63 | + "!**/package.json", |
| 64 | + "!**/package.json" |
50 | 65 | ] |
51 | 66 | } |
52 | 67 | } |
0 commit comments