0.2.7 — pass Obsidian community-plugin lint
What's in 0.2.7
Address every Error-level finding from the Obsidian community-plugin review of 0.2.6 so the resubmission passes automated checks. Warnings and Recommendations remain for a follow-up release.
- Drop diagnostic
console.*calls inAiProviderService+StoryGenerator(ruleno-console). - Replace
(app as any).settingcasts with a typed module augmentation (src/types/obsidian-internals.d.ts). - Rewrite
onunloadas a synchronousvoidmethod with an async IIFE; dropdetachLeavesOfTypeso user leaf placement survives plugin disable/enable (ruleobsidianmd/detach-leaves-in-onunload). - Swap 16 HTML headings in the settings tab for
new Setting(...).setHeading()(ruleobsidianmd/use-setting-heading). - Move 7 inline element styles in the Stats word-detail overlay + smart-preview text to dedicated CSS classes (rule
obsidianmd/no-static-styles-assignment). - Add justifications to the two remaining
no-constant-conditioneslint-disable comments. - Bump
minAppVersion1.5.0 → 1.7.2 to cover the typedapp.loadLocalStorage/app.saveLocalStorage/app.settingcalls.
BRAT install
Add the repo as a beta plugin and BRAT will pick this prerelease up. Stable promotion happens after manual smoke testing.