Skip to content

Commit 1dbb138

Browse files
committed
chore: update biome config with VCS and rule tweaks
1 parent 8c2e56e commit 1dbb138

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

biome.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true,
7+
"defaultBranch": "main"
8+
},
39
"organizeImports": {
410
"enabled": true
511
},
@@ -14,13 +20,16 @@
1420
"noEmptyTypeParameters": "error"
1521
},
1622
"suspicious": {
17-
"noExplicitAny": "off",
23+
"noExplicitAny": "warn",
1824
"noAssignInExpressions": "off",
1925
"noRedeclare": "off",
2026
"noImplicitAnyLet": "off"
2127
},
2228
"correctness": {
23-
"noUnusedImports": "error"
29+
"noUnusedImports": {
30+
"level": "error",
31+
"fix": "unsafe"
32+
}
2433
},
2534
"style": {
2635
"useImportType": "error"

0 commit comments

Comments
 (0)