Bug fixes and new biome lint update

This commit is contained in:
Sean Edmunds
2025-06-17 17:00:29 -05:00
parent 4a77340ba5
commit 7570c287c8
26 changed files with 459 additions and 500 deletions

View File

@@ -1,9 +1,7 @@
{
"organizeImports": {
"enabled": true
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"files": {
"ignore": ["./node_modules/", "./dist/", "./.nx/"],
"includes": ["./src/**/*.{ts,tsx,js,jsx}"],
"ignoreUnknown": true
},
"linter": {
@@ -11,8 +9,7 @@
"rules": {
"recommended": true,
"a11y": {
"noSvgWithoutTitle": "off",
"all": true
"noSvgWithoutTitle": "off"
},
"complexity": {
"noUselessTypeConstraint": "off",
@@ -20,9 +17,9 @@
},
"suspicious": {
"noExplicitAny": "off",
"noConsoleLog": "error",
"noImplicitAnyLet": "off",
"recommended": true
"recommended": true,
"noConsole": { "level": "error", "options": { "allow": ["error", "log"] } }
},
"correctness": {
"useExhaustiveDependencies": "off",
@@ -32,12 +29,24 @@
"performance": {
"noDelete": "off",
"recommended": true
},
"style": {
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
}
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"formatWithErrors": true,
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 90