docs/biome.json

93 lines
3.1 KiB
JSON
Raw Normal View History

2024-04-23 01:55:10 +02:00
{
2024-10-18 10:49:43 +02:00
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2024-04-23 01:55:10 +02:00
"organizeImports": {
2024-07-22 11:49:47 +02:00
"enabled": true
2024-04-23 01:55:10 +02:00
},
"linter": {
"enabled": true,
"rules": {
2024-07-22 11:49:47 +02:00
"all": true,
"correctness": {
2024-09-20 14:39:19 +02:00
"noNodejsModules": "off",
"useImportExtensions": "off",
"noUnknownFunction": "off"
2024-07-22 11:49:47 +02:00
},
"complexity": {
"noExcessiveCognitiveComplexity": "off"
},
2024-09-20 14:39:19 +02:00
"suspicious": {
"noReactSpecificProps": "off"
},
"performance": {
"useTopLevelRegex": "off"
},
2024-07-22 11:49:47 +02:00
"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"
]
},
{
"selector": {
"kind": "classMethod",
"scope": "any"
},
"formats": ["camelCase", "PascalCase"]
},
{
"selector": {
"kind": "functionParameter",
"scope": "any"
},
"formats": ["snake_case", "camelCase"]
}
]
}
}
},
"nursery": {
2024-09-20 14:39:19 +02:00
"noDuplicateElseIf": "warn"
2024-07-22 11:49:47 +02:00
}
}
2024-04-23 01:55:10 +02:00
},
"formatter": {
"enabled": true,
"indentStyle": "space",
2024-07-22 11:49:47 +02:00
"indentWidth": 4
},
"javascript": {
"globals": ["Bun"]
},
"files": {
2024-07-22 15:22:18 +02:00
"ignore": ["node_modules", ".next", ".output", "out"]
2024-04-23 01:55:10 +02:00
}
}