hippofish/biome.json
2024-04-20 20:55:47 +08:00

31 lines
549 B
JSON

{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noUselessElse": "off"
}
}
},
"overrides": [
{
"include": ["*.vue", "packages/client/*.ts"],
"linter": {
"rules": {
"style": {
"useImportType": "warn",
"useShorthandFunctionType": "warn",
"useTemplate": "warn",
"noNonNullAssertion": "off",
"useNodejsImportProtocol": "off"
}
}
}
}
]
}