server/biome.json

97 lines
3.3 KiB
JSON
Raw Normal View History

2024-04-07 06:45:05 +02:00
{
2024-10-23 18:01:40 +02:00
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2024-04-07 07:30:49 +02:00
"organizeImports": {
"enabled": true
2024-04-07 07:30:49 +02:00
},
"linter": {
"enabled": true,
"rules": {
"all": true,
"correctness": {
"noNodejsModules": "off"
2024-09-14 17:32:32 +02:00
},
"performance": {
"useTopLevelRegex": "off"
},
"complexity": {
"noExcessiveCognitiveComplexity": "off"
},
2024-09-14 17:32:32 +02:00
"suspicious": {
"noMisplacedAssertion": "off",
"noConsole": "off"
},
"style": {
"noDefaultExport": "off",
"noParameterProperties": "off",
"noNamespaceImport": "off",
"useFilenamingConvention": "off",
2024-09-14 17:32:32 +02:00
"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"
]
}
]
}
}
2024-06-13 10:52:03 +02:00
},
"nursery": {
"noDuplicateElseIf": "warn",
"useConsistentMemberAccessibility": {
"level": "warn",
"options": {
"accessibility": "explicit"
}
},
"noCommonJs": "warn",
"noDynamicNamespaceImportAccess": "warn",
"noExportedImports": "warn",
"noIrregularWhitespace": "warn",
"noSubstr": "warn",
"noTemplateCurlyInString": "warn",
"noUselessEscapeInRegex": "warn",
"noUselessStringRaw": "warn",
"useAdjacentOverloadSignatures": "warn",
"useExplicitType": "warn",
"useGuardForIn": "warn",
"useTrimStartEnd": "warn"
}
}
2024-04-07 07:30:49 +02:00
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4
},
"javascript": {
"globals": ["Bun", "HTMLRewriter", "BufferEncoding"]
},
"files": {
"ignore": ["node_modules", "dist", "cache"]
2024-04-07 07:30:49 +02:00
}
2024-04-07 06:45:05 +02:00
}