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": {
|
2024-08-27 16:45:05 +02:00
|
|
|
"enabled": true
|
2024-04-07 07:30:49 +02:00
|
|
|
},
|
|
|
|
|
"linter": {
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"rules": {
|
2024-06-13 04:26:43 +02:00
|
|
|
"all": true,
|
|
|
|
|
"correctness": {
|
2024-10-04 15:38:02 +02:00
|
|
|
"noNodejsModules": "off"
|
2024-09-14 17:32:32 +02:00
|
|
|
},
|
|
|
|
|
"performance": {
|
|
|
|
|
"useTopLevelRegex": "off"
|
2024-06-13 04:26:43 +02:00
|
|
|
},
|
2024-06-14 10:04:22 +02:00
|
|
|
"complexity": {
|
|
|
|
|
"noExcessiveCognitiveComplexity": "off"
|
|
|
|
|
},
|
2024-09-14 17:32:32 +02:00
|
|
|
"suspicious": {
|
|
|
|
|
"noMisplacedAssertion": "off",
|
|
|
|
|
"noConsole": "off"
|
|
|
|
|
},
|
2024-06-13 04:26:43 +02:00
|
|
|
"style": {
|
|
|
|
|
"noDefaultExport": "off",
|
|
|
|
|
"noParameterProperties": "off",
|
|
|
|
|
"noNamespaceImport": "off",
|
|
|
|
|
"useFilenamingConvention": "off",
|
2024-09-14 17:32:32 +02:00
|
|
|
"useDefaultSwitchClause": "off",
|
2024-06-13 04:26:43 +02:00
|
|
|
"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": {
|
2024-11-01 21:20:12 +01:00
|
|
|
"noDuplicateElseIf": "warn",
|
|
|
|
|
"useConsistentMemberAccessibility": {
|
|
|
|
|
"level": "warn",
|
|
|
|
|
"options": {
|
|
|
|
|
"accessibility": "explicit"
|
|
|
|
|
}
|
2024-11-02 00:43:33 +01:00
|
|
|
},
|
|
|
|
|
"noCommonJs": "warn",
|
|
|
|
|
"noDynamicNamespaceImportAccess": "warn",
|
|
|
|
|
"noExportedImports": "warn",
|
|
|
|
|
"noIrregularWhitespace": "warn",
|
|
|
|
|
"noSubstr": "warn",
|
|
|
|
|
"noTemplateCurlyInString": "warn",
|
|
|
|
|
"noUselessEscapeInRegex": "warn",
|
|
|
|
|
"noUselessStringRaw": "warn",
|
|
|
|
|
"useAdjacentOverloadSignatures": "warn",
|
2024-11-02 00:45:48 +01:00
|
|
|
"useExplicitType": "warn",
|
|
|
|
|
"useGuardForIn": "warn",
|
|
|
|
|
"useTrimStartEnd": "warn"
|
2024-06-13 04:26:43 +02:00
|
|
|
}
|
2024-08-27 16:45:05 +02:00
|
|
|
}
|
2024-04-07 07:30:49 +02:00
|
|
|
},
|
2025-03-22 02:34:03 +01:00
|
|
|
"overrides": [
|
|
|
|
|
{
|
|
|
|
|
"include": ["packages/client/versia/client.ts"],
|
|
|
|
|
"linter": {
|
|
|
|
|
"rules": {
|
|
|
|
|
"style": {
|
|
|
|
|
"useNamingConvention": "off"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2024-04-07 07:30:49 +02:00
|
|
|
"formatter": {
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"indentStyle": "space",
|
2024-08-27 16:45:05 +02:00
|
|
|
"indentWidth": 4
|
2024-06-13 04:26:43 +02:00
|
|
|
},
|
|
|
|
|
"javascript": {
|
2024-06-13 07:38:26 +02:00
|
|
|
"globals": ["Bun", "HTMLRewriter", "BufferEncoding"]
|
2024-08-27 16:45:05 +02:00
|
|
|
},
|
|
|
|
|
"files": {
|
2024-11-10 15:24:34 +01:00
|
|
|
"ignore": ["node_modules", "dist", "cache"]
|
2024-04-07 07:30:49 +02:00
|
|
|
}
|
2024-04-07 06:45:05 +02:00
|
|
|
}
|