hippofish/biome.json

46 lines
816 B
JSON
Raw Normal View History

{
2024-04-03 15:42:40 +02:00
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
2024-04-03 15:42:40 +02:00
"recommended": true,
"style": {
"noUselessElse": "off"
}
}
},
"overrides": [
{
2024-04-20 14:55:47 +02:00
"include": ["*.vue", "packages/client/*.ts"],
"linter": {
"rules": {
"style": {
"useImportType": "warn",
2024-04-04 10:53:02 +02:00
"useShorthandFunctionType": "warn",
"useTemplate": "warn",
2024-04-12 05:16:26 +02:00
"noNonNullAssertion": "off",
"useNodejsImportProtocol": "off"
}
}
}
},
{
"include": ["packages/backend/src/server/api/mastodon/**/*.ts"],
"linter": {
"rules": {
"style": {
"noParameterAssign": "off"
},
"complexity": {
"noStaticOnlyClass": "off",
"noThisInStatic": "off"
}
}
}
}
]
}