upgrade biome to 2x

This commit is contained in:
Seth 2025-05-16 00:25:00 -04:00
parent 43306fbb6d
commit 9ace0c9457
3 changed files with 27 additions and 16 deletions

View file

@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.0.0-beta.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
@ -7,16 +7,14 @@
},
"files": {
"ignoreUnknown": true,
"ignore": ["dist/**"]
"includes": ["**", "!**/dist/**"]
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineEnding": "lf"
},
"organizeImports": {
"enabled": true
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"css": {
"formatter": {
"indentStyle": "tab",
@ -29,6 +27,19 @@
"recommended": true,
"correctness": {
"noUnusedImports": "error"
},
"style": {
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useConst": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
}
}
},