frontend/biome.json

81 lines
2.8 KiB
JSON
Raw Normal View History

{
2024-10-23 18:10:31 +02:00
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true,
"ignore": ["node_modules/**/*", "dist/**/*", ".output", ".nuxt"]
},
"linter": {
"enabled": true,
"rules": {
2024-06-20 02:07:56 +02:00
"all": true,
2024-09-14 13:18:49 +02:00
"suspicious": {
"noConsole": "off"
},
"performance": {
"noBarrelFile": "off"
},
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",
"useImportExtensions": "off"
2024-06-20 02:07:56 +02:00
},
"complexity": {
"noExcessiveCognitiveComplexity": "off"
},
"style": {
"noDefaultExport": "off",
"noParameterProperties": "off",
"noNamespaceImport": "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"
]
}
]
}
}
},
"nursery": {
2024-09-14 13:18:49 +02:00
"noDuplicateElseIf": "error",
"noCommonJs": "error"
2024-06-20 02:07:56 +02:00
}
},
"ignore": ["node_modules/**/*", "dist/**/*", ".output", ".nuxt"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"ignore": ["node_modules/**/*", "dist/**/*", ".output", ".nuxt"]
}
}