server/biome.json

65 lines
2.2 KiB
JSON
Raw Normal View History

2024-04-07 06:45:05 +02:00
{
"$schema": "https://biomejs.dev/schemas/1.8.1/schema.json",
2024-04-07 07:30:49 +02:00
"organizeImports": {
"enabled": true,
"ignore": ["node_modules", "dist", "glitch", "glitch-dev"]
2024-04-07 07:30:49 +02:00
},
"linter": {
"enabled": true,
"rules": {
"all": true,
"correctness": {
"noNodejsModules": "off"
},
"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"
]
}
]
}
}
}
2024-04-07 07:30:49 +02:00
},
"ignore": ["node_modules", "dist", "glitch", "glitch-dev"]
2024-04-07 07:30:49 +02:00
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"ignore": ["node_modules", "dist", "glitch", "glitch-dev"]
},
"javascript": {
"globals": ["Bun", "HTMLRewriter", "BufferEncoding"]
2024-04-07 07:30:49 +02:00
}
2024-04-07 06:45:05 +02:00
}