fancive_obsidian-parallel-r.../biome.json
wujunchen a49e5cd2ec chore: upgrade biome noExplicitAny from off to warn
Enable noExplicitAny as a warning so remaining any usages are visible
in lint output. 20 warnings exist in API response handlers and Obsidian
internal type access — these are intentional and documented.

Change-Id: I96c190e594bc3391256f77a59e155f23436d3db3
2026-04-26 08:59:40 +08:00

39 lines
844 B
JSON

{
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
"files": {
"includes": ["main.ts", "src/**/*.ts", "esbuild.config.mjs"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "warn",
"noRedundantUseStrict": "off",
"noImplicitAnyLet": "off"
},
"style": {
"noNonNullAssertion": "off",
"useConst": "warn",
"useNodejsImportProtocol": "off",
"useTemplate": "off"
},
"complexity": {
"noForEach": "off"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "always",
"trailingCommas": "all"
}
}
}