mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
78 lines
2.7 KiB
JSON
78 lines
2.7 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true,
|
|
"ignore": ["node_modules/**/*", "dist/**/*", ".output", ".nuxt"]
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"all": true,
|
|
"suspicious": {
|
|
"noConsole": "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"
|
|
}
|
|
},
|
|
"ignore": ["node_modules/**/*", "dist/**/*", ".output", ".nuxt"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4,
|
|
"ignore": ["node_modules/**/*", "dist/**/*", ".output", ".nuxt"]
|
|
}
|
|
}
|