Chenyan Wang
|
eca4f285b1
|
fix: address all required linter issues from Obsidian community review
- Replace localStorage with app.saveLocalStorage/loadLocalStorage
- Replace window.confirm/prompt with custom Modal dialogs
- Remove inline <style> element; move all CSS to styles.css
- Replace all element.style.cssText with CSS class additions
- Replace element.style.* with CSS classes and setCssProps for dynamic values
- Fix command IDs to exclude plugin ID prefix
- Remove detachLeavesOfType from onunload
- Fix async methods/callbacks returning Promise where void expected
- Add void operator to unhandled promise calls
- Fix empty catch block
- Remove unused variable
- Fix type coercion in template literals
|
2026-05-03 19:49:14 +08:00 |
|