Skip to content

Commit 4360144

Browse files
committed
fix: update biome schema to biome@2
Signed-off-by: Tierney Cyren <[email protected]>
1 parent 9fd8800 commit 4360144

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

biome.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
2+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
64
"javascript": {
75
"formatter": {
86
"quoteStyle": "single"
@@ -14,7 +12,19 @@
1412
"recommended": true,
1513
"performance": {
1614
"noDelete": "warn"
15+
},
16+
"style": {
17+
"noParameterAssign": "error",
18+
"useAsConstAssertion": "error",
19+
"useDefaultParameterLast": "error",
20+
"useEnumInitializers": "error",
21+
"useSelfClosingElements": "error",
22+
"useSingleVarDeclarator": "error",
23+
"noUnusedTemplateLiteral": "error",
24+
"useNumberNamespace": "error",
25+
"noInferrableTypes": "error",
26+
"noUselessElse": "error"
1727
}
1828
}
1929
}
20-
}
30+
}

0 commit comments

Comments
 (0)