mirror of
https://github.com/liamcain/obsidian-lapel.git
synced 2026-07-22 06:20:23 +00:00
Replaces .eslintrc.js + scripts/.eslintrc.json with a single eslint.config.mts mirroring the obsidian sample plugin. Brings in the modern typescript-eslint stack, including type-aware rules (no-floating-promises, no-unsafe-*) and the Obsidian-conventions plugin. Fixes the errors the new rules surface: - settings.ts: replace manual h3 with Setting.setHeading(); void the fire-and-forget updateSettings call. - index.ts: stop relying on Object.assign returning a widened any from the Promise<unknown> result of loadData(). - headingWidget.ts: narrow gutter event handlers from Event -> MouseEvent inside the body now that the new @codemirror/view types expect Event. Cast RangeSet.empty to the typed shape. |
||
|---|---|---|
| .. | ||
| build-local.mjs | ||