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