frontend/biome.json
Jesse Wierzbinski a6db9e059d
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 0s
Deploy to GitHub Pages / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 4s
Mirror to Codeberg / Mirror (push) Failing after 0s
chore: ⬆️ Upgrade dependencies
2025-08-21 21:42:43 +02:00

115 lines
3.8 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"suspicious": {
"noConsole": "off",
"noExplicitAny": "off",
"noDuplicateElseIf": "error",
"noDocumentCookie": "off",
"noUnknownAtRules": "off"
},
"performance": {
"noBarrelFile": "off",
"noNamespaceImport": "off"
},
"correctness": {
"noNodejsModules": "off",
"noUndeclaredVariables": "off",
"useHookAtTopLevel": "off",
"noUnusedVariables": "off",
"noUnusedImports": "off",
"noUndeclaredDependencies": "off",
"useImportExtensions": "off",
"useJsxKeyInIterable": "off"
},
"complexity": {
"noExcessiveCognitiveComplexity": "off"
},
"style": {
"noDefaultExport": "off",
"noParameterProperties": "off",
"useFilenamingConvention": "off",
"useNamingConvention": {
"level": "warn",
"options": {
"requireAscii": false,
"strictCase": false,
"conventions": [
{
"selector": {
"kind": "typeProperty"
},
"formats": [
"camelCase",
"CONSTANT_CASE",
"PascalCase",
"snake_case"
]
},
{
"selector": {
"kind": "objectLiteralProperty",
"scope": "any"
},
"formats": [
"camelCase",
"CONSTANT_CASE",
"PascalCase",
"snake_case"
]
}
]
}
},
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"noCommonJs": "error"
},
"nursery": {}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4
},
"overrides": [
{
"includes": ["**/*.vue"],
"linter": {
"rules": {
"correctness": {
"noUnusedImports": "off"
},
"style": {
"useImportType": "off"
}
}
}
}
],
"files": {
"includes": [
"**",
"!**/node_modules/**/*",
"!**/dist/**/*",
"!**/.output",
"!**/.nuxt",
"!**/paraglide",
"!**/result",
"!**/project.inlang"
]
}
}