mirror of
https://github.com/fancive/obsidian-parallel-reader.git
synced 2026-07-22 17:20:24 +00:00
Promote noExplicitAny from warn to error and enable noNonNullAssertion at warn level. Fix the two resulting errors in src/schema.ts by introducing a JsonSchema interface to replace the any-typed local variables. https://claude.ai/code/session_016QvEfqw6YZ3RjwBHrJ4w8S
39 lines
846 B
JSON
39 lines
846 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": "error",
|
|
"noRedundantUseStrict": "off",
|
|
"noImplicitAnyLet": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "warn",
|
|
"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"
|
|
}
|
|
}
|
|
}
|