Commit graph

3 commits

Author SHA1 Message Date
Claude
10d811f197
refactor: upgrade Biome lint rules
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
2026-04-26 06:16:36 +00:00
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
wujunchen
83f35f8ccb feat: add Biome for lint and format
Install @biomejs/biome with lint and format config.
Add npm lint/lint:fix scripts. Auto-fix formatting across all source
files. Update tsconfig lib to ES2022 for Object.hasOwn support.

Change-Id: I13e3ba2f106f7e3d03349080b7ed515d427d24a1
2026-04-25 23:47:49 +08:00