Files
cfw-autumn/server/biome.json

64 lines
1.0 KiB
JSON

{
"root": false,
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"experimentalScannerIgnores": ["dist/**"],
"includes": ["src/**/*.ts", "tests/**/*.ts"]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExportsInTest": "off",
"noExplicitAny": "off",
"noImplicitAnyLet": "off"
},
"complexity": {
"noStaticOnlyClass": "off"
},
"correctness": {
"useParseIntRadix": "off"
},
"style": {
"noNonNullAssertion": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": [
{
"includes": ["tests/**"],
"linter": {
"rules": {
"correctness": {
"noUnreachable": "off"
}
}
}
}
]
}