biome.json•1.35 kB
{
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
"files": {
"includes": ["**", "!dist", "!**/dist", "!docs", "!examples", "!assets", "!.tmp", "!.vscode", "!test/data", "!.pnp.*"]
},
"formatter": {
"enabled": true,
"lineWidth": 320,
"indentStyle": "space"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "es5"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off",
"noImplicitAnyLet": "off"
},
"complexity": {
"noForEach": "off",
"useOptionalChain": "off"
},
"correctness": {
"noUnusedVariables": "warn",
"noUnusedImports": "warn",
"noInnerDeclarations": "off"
},
"performance": {
"noDelete": "off"
},
"style": {
"noParameterAssign": "off",
"useNumberNamespace": "off",
"useNodejsImportProtocol": "off",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
}
}
}
}