mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
79 lines
2.5 KiB
JSON
79 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"all": true,
|
|
"correctness": {
|
|
"noNodejsModules": "off"
|
|
},
|
|
"performance": {
|
|
"useTopLevelRegex": "off"
|
|
},
|
|
"complexity": {
|
|
"noExcessiveCognitiveComplexity": "off"
|
|
},
|
|
"suspicious": {
|
|
"noMisplacedAssertion": "off",
|
|
"noConsole": "off"
|
|
},
|
|
"style": {
|
|
"noDefaultExport": "off",
|
|
"noParameterProperties": "off",
|
|
"noNamespaceImport": "off",
|
|
"useFilenamingConvention": "off",
|
|
"useDefaultSwitchClause": "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": "warn"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4
|
|
},
|
|
"javascript": {
|
|
"globals": ["Bun", "HTMLRewriter", "BufferEncoding"]
|
|
},
|
|
"files": {
|
|
"ignore": ["node_modules", "dist"]
|
|
}
|
|
}
|