2024-04-15 03:16:57 +02:00
|
|
|
{
|
2025-08-28 14:46:31 +02:00
|
|
|
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
|
2025-06-26 22:39:02 +02:00
|
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
2024-04-15 03:16:57 +02:00
|
|
|
"linter": {
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"rules": {
|
2024-09-14 13:18:49 +02:00
|
|
|
"suspicious": {
|
2025-04-30 01:44:16 +02:00
|
|
|
"noConsole": "off",
|
2025-06-26 22:39:02 +02:00
|
|
|
"noExplicitAny": "off",
|
|
|
|
|
"noDuplicateElseIf": "error",
|
2025-08-21 21:42:43 +02:00
|
|
|
"noDocumentCookie": "off",
|
|
|
|
|
"noUnknownAtRules": "off"
|
2024-09-14 13:18:49 +02:00
|
|
|
},
|
2024-11-30 00:58:04 +01:00
|
|
|
"performance": {
|
2025-06-26 22:39:02 +02:00
|
|
|
"noBarrelFile": "off",
|
|
|
|
|
"noNamespaceImport": "off"
|
2024-11-30 00:58:04 +01:00
|
|
|
},
|
2024-06-20 02:07:56 +02:00
|
|
|
"correctness": {
|
|
|
|
|
"noNodejsModules": "off",
|
|
|
|
|
"noUndeclaredVariables": "off",
|
|
|
|
|
"useHookAtTopLevel": "off",
|
|
|
|
|
"noUnusedVariables": "off",
|
2024-09-14 13:18:49 +02:00
|
|
|
"noUnusedImports": "off",
|
|
|
|
|
"noUndeclaredDependencies": "off",
|
2025-04-30 18:03:14 +02:00
|
|
|
"useImportExtensions": "off",
|
|
|
|
|
"useJsxKeyInIterable": "off"
|
2024-06-20 02:07:56 +02:00
|
|
|
},
|
|
|
|
|
"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"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2025-06-26 22:39:02 +02:00
|
|
|
},
|
|
|
|
|
"noParameterAssign": "error",
|
|
|
|
|
"useAsConstAssertion": "error",
|
|
|
|
|
"useDefaultParameterLast": "error",
|
|
|
|
|
"useEnumInitializers": "error",
|
|
|
|
|
"useSelfClosingElements": "error",
|
|
|
|
|
"useSingleVarDeclarator": "error",
|
|
|
|
|
"noUnusedTemplateLiteral": "error",
|
|
|
|
|
"useNumberNamespace": "error",
|
|
|
|
|
"noInferrableTypes": "error",
|
|
|
|
|
"noUselessElse": "error",
|
2024-09-14 13:18:49 +02:00
|
|
|
"noCommonJs": "error"
|
2025-06-26 22:39:02 +02:00
|
|
|
},
|
|
|
|
|
"nursery": {}
|
2024-12-03 14:17:36 +01:00
|
|
|
}
|
2024-04-15 03:16:57 +02:00
|
|
|
},
|
|
|
|
|
"formatter": {
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"indentStyle": "space",
|
2024-12-03 14:17:36 +01:00
|
|
|
"indentWidth": 4
|
|
|
|
|
},
|
2025-06-26 22:39:02 +02:00
|
|
|
"overrides": [
|
|
|
|
|
{
|
|
|
|
|
"includes": ["**/*.vue"],
|
|
|
|
|
"linter": {
|
|
|
|
|
"rules": {
|
|
|
|
|
"correctness": {
|
|
|
|
|
"noUnusedImports": "off"
|
|
|
|
|
},
|
|
|
|
|
"style": {
|
|
|
|
|
"useImportType": "off"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2024-12-03 14:17:36 +01:00
|
|
|
"files": {
|
2025-06-26 22:39:02 +02:00
|
|
|
"includes": [
|
|
|
|
|
"**",
|
|
|
|
|
"!**/node_modules/**/*",
|
|
|
|
|
"!**/dist/**/*",
|
|
|
|
|
"!**/.output",
|
|
|
|
|
"!**/.nuxt",
|
|
|
|
|
"!**/paraglide",
|
|
|
|
|
"!**/result",
|
|
|
|
|
"!**/project.inlang"
|
2024-12-07 20:24:09 +01:00
|
|
|
]
|
2024-04-15 03:16:57 +02:00
|
|
|
}
|
|
|
|
|
}
|