chore: use ultacite

This commit is contained in:
Carl-Gerhard Lindesvärd
2026-02-14 10:42:38 +00:00
parent 6c55f7a759
commit 860223f22e
35 changed files with 635 additions and 163 deletions

View File

@@ -1,19 +1,34 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": [
"node_modules",
"tmp",
".next",
"dist",
"coverage",
"op.js",
"op1.js",
"*.css"
]
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
":BUN:",
":NODE:",
[
"npm:*",
"npm:*/**"
],
":PACKAGE_WITH_PROTOCOL:",
":URL:",
":PACKAGE:",
[
"/**"
],
[
"#*",
"#*/**"
],
":PATH:"
]
}
}
}
}
},
"linter": {
"enabled": true,
@@ -27,7 +42,17 @@
"useSemanticElements": "off"
},
"style": {
"noNonNullAssertion": "off"
"noNonNullAssertion": "off",
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
},
"correctness": {
"useExhaustiveDependencies": "off",
@@ -57,5 +82,11 @@
"formatter": {
"quoteStyle": "single"
}
}
}
},
"extends": [
"ultracite/biome/core",
"ultracite/biome/react",
"ultracite/biome/next",
"ultracite/biome/remix"
]
}