mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 00:18:20 +01:00
89 lines
2.8 KiB
JSON
89 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"all": true,
|
|
"suspicious": {
|
|
"noConsole": "off"
|
|
},
|
|
"performance": {
|
|
"noBarrelFile": "off"
|
|
},
|
|
"correctness": {
|
|
"noNodejsModules": "off",
|
|
"noUndeclaredVariables": "off",
|
|
"useHookAtTopLevel": "off",
|
|
"noUnusedVariables": "off",
|
|
"noUnusedImports": "off",
|
|
"noUndeclaredDependencies": "off",
|
|
"useImportExtensions": "off"
|
|
},
|
|
"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": {
|
|
"noDuplicateElseIf": "error",
|
|
"noCommonJs": "error"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4
|
|
},
|
|
"files": {
|
|
"ignore": [
|
|
"node_modules/**/*",
|
|
"dist/**/*",
|
|
".output",
|
|
".nuxt",
|
|
"paraglide",
|
|
"result",
|
|
"project.inlang"
|
|
]
|
|
}
|
|
}
|