Skip to content

Commit bea3a90

Browse files
chore: update biome (#240)
* chore: update biome * chore: adjust paths, adjust format script * chore: add dist to include paths * chore: move test globals to domains --------- Co-authored-by: Matthias Harzer <[email protected]>
1 parent 05f77ae commit bea3a90

File tree

5 files changed

+3558
-3554
lines changed

5 files changed

+3558
-3554
lines changed

biome.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"files": {
4-
"ignore": ["dist", "node_modules"]
4+
"includes": ["src/**", "!dist/**", "!node_modules/**"]
55
},
66
"formatter": {
77
"enabled": true,
88
"formatWithErrors": false,
9-
"ignore": [],
109
"indentStyle": "tab",
1110
"indentWidth": 2,
1211
"lineEnding": "lf",
@@ -34,24 +33,30 @@
3433
}
3534
},
3635
"linter": {
36+
"domains": {
37+
"test": "all"
38+
},
3739
"enabled": true,
3840
"rules": {
39-
"all": true,
4041
"complexity": {
4142
"noExcessiveCognitiveComplexity": "off"
4243
},
4344
"correctness": {
44-
"noNodejsModules": "off"
45-
},
46-
"nursery": {
47-
"useImportRestrictions": "off"
45+
"noPrivateImports": "off"
4846
},
47+
"performance": "on",
48+
"security": "on",
49+
"suspicious": "on",
4950
"style": {
5051
"useFilenamingConvention": "off"
5152
}
5253
}
5354
},
54-
"organizeImports": {
55-
"enabled": true
55+
"assist": {
56+
"actions": {
57+
"source": {
58+
"organizeImports": "on"
59+
}
60+
}
5661
}
5762
}

0 commit comments

Comments
 (0)