biome.json•1.08 kB
{
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
"files": {
"ignoreUnknown": false,
"includes": ["!node_modules", "!dist", "!./worker-configuration.d.ts", "src/**"]
},
"assist": {
"actions": {
"source": {
"useSortedKeys": "on",
"organizeImports": "on"
}
},
"enabled": true
},
"formatter": {
"enabled": true,
"indentWidth": 4,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noInferrableTypes": "error",
"noNonNullAssertion": "off",
"noParameterAssign": "error",
"noUnusedTemplateLiteral": "error",
"noUselessElse": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useNumberNamespace": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error"
},
"suspicious": {
"noConfusingVoidType": "off",
"noDebugger": "off",
"noExplicitAny": "off"
}
}
},
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
}
}