Skip to content

0.3.3 — drop @typescript-eslint/no-deprecated disable comments

Latest

Choose a tag to compare

@davadev davadev released this 17 Jun 08:42
· 1 commit to main since this release
6c0e615

What's in 0.3.3

Hotfix. 0.3.2 shipped with // eslint-disable-next-line @typescript-eslint/no-deprecated comments, which the Obsidian community-plugin auto-review flagged as a hard Error (same meta-rule that bans disabling no-console and no-explicit-any). 8 Errors → delisting risk.

This release removes every disable AND silences the underlying deprecation without bumping minAppVersion past iOS Obsidian's 1.12.7 ceiling:

  • setWarning() calls swapped for b.buttonEl.addClass("mod-warning") (4 sites). Visual result identical — same red destructive treatment.
  • this.display() self-calls routed through a new private rerender() method (4 sites). display() becomes a 1-liner that delegates; Obsidian still calls it from outside.

npm run lint reports 0 errors / 0 warnings. npm run check-release -- --with-build is fully green.

iOS 1.12.7 + desktop both install cleanly.