Skip to content

Commit e2c96c6

Browse files
committed
chore: make biome config more strict
1 parent d858a78 commit e2c96c6

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

biome.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
33
"assist": {
44
"actions": {
55
"source": {
@@ -22,6 +22,32 @@
2222
"useNumberNamespace": "error",
2323
"noInferrableTypes": "error",
2424
"noUselessElse": "error"
25+
},
26+
"suspicious": {
27+
"noTsIgnore": "error",
28+
"noConfusingVoidType": "error",
29+
"noDoubleEquals": "error",
30+
"noGlobalIsNan": "error",
31+
"noGlobalIsFinite": "error",
32+
"useNumberToFixedDigitsArgument": "error",
33+
"noPrototypeBuiltins": "error",
34+
"noSkippedTests": "error",
35+
"noFocusedTests": "error",
36+
"noUnassignedVariables": "error",
37+
"noVar": "error",
38+
"useAdjacentOverloadSignatures": "error",
39+
"useAwait": "error",
40+
"useErrorMessage": "error",
41+
"useIsArray": "error",
42+
"useStaticResponseMethods": "error"
43+
},
44+
"correctness": {
45+
"useParseIntRadix": "error",
46+
"useSingleJsDocAsterisk": "error",
47+
"noUnusedVariables": "error",
48+
"noUnusedPrivateClassMembers": "error",
49+
"noUnusedImports": "error",
50+
"noUnusedFunctionParameters": "error"
2551
}
2652
}
2753
},

0 commit comments

Comments
 (0)