Skip to content

Commit 5054a23

Browse files
committed
Update the biome configuration
1 parent 3fc0c05 commit 5054a23

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

biome.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.0-beta.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.0-beta.5/schema.json",
33
"formatter": {
44
"enabled": true,
55
"useEditorconfig": true
@@ -20,7 +20,6 @@
2020
"noCommaOperator": "error",
2121
"useNodejsImportProtocol": "error",
2222
"useAsConstAssertion": "error",
23-
"useNumericLiterals": "error",
2423
"useEnumInitializers": "error",
2524
"useSelfClosingElements": "error",
2625
"useConst": "error",
@@ -41,6 +40,9 @@
4140
},
4241
"suspicious": {
4342
"noDocumentCookie": "off"
43+
},
44+
"complexity": {
45+
"useNumericLiterals": "error"
4446
}
4547
}
4648
},

0 commit comments

Comments
 (0)