2024-04-07 06:45:05 +02:00
|
|
|
{
|
2024-10-04 15:35:43 +02:00
|
|
|
"$schema": "https://biomejs.dev/schemas/1.9.3/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-09-14 17:32:32 +02:00
|
|
|
"noDuplicateElseIf": "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
|
|
|
},
|
|
|
|
|
"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": {
|
|
|
|
|
"ignore": ["node_modules", "dist"]
|
2024-04-07 07:30:49 +02:00
|
|
|
}
|
2024-04-07 06:45:05 +02:00
|
|
|
}
|