EzReader 0.2.6
Fixed
- Systematic lint cleanup round 2: removed redundant type assertions, unused imports/locals, replaced globalThis with window (~70 places), deprecated activeLeaf → getLeaf(), wrapped setTimeout with window.*, fixed lexical declaration in case block, added void to unawaited promises, eslint-disable comments for intentional diagnostics.
- styles.css: removed 2 dead declarations (duplicate padding/font-size overridden later in same selector).
Skipped (would require major refactor or reviewer doesn't block):
- document.createElement → createEl (~50 places)
- !important in CSS (override Obsidian defaults)
- foliate-view unknown selector (required for EPUB iframe)
- fetch → requestUrl (blob: URLs not supported)
- PluginSettingTab.getSettingDefinitions() (declarative settings API migration)
Full changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md
Full Changelog: 0.2.5...0.2.6