Replace eslint-disable blanket with fully typed implementation:
- Add return types to all functions
- Use number[] with fill(0) instead of sparse Array()
- Add xi() helper to safely index number[] under noUncheckedIndexedAccess
- Replace substr with slice
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace vault.createFolder with vault.adapter.mkdir (lower API version req)
- Rename settings heading to "Connection" (no plugin name in heading)
- Fix boolean[] type inference for selected array
- Fix loadSettings any type with Partial<RtmPluginSettings>
- Suppress md5.ts type warnings with ts-nocheck (legacy implementation)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Array index access returns T|undefined under noUncheckedIndexedAccess;
use type assertions where RTM API guarantees non-empty arrays.
Fix regex match group access (match[1..3]) the same way.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove unused TFile import
- Replace direct style assignments with setCssStyles()
- Replace innerHTML with DOM element creation
- Replace createEl('h2') with Setting.setHeading()
- Fix Promise-in-void-callback warnings
- Remove unused catch variable
- Bump minAppVersion to 1.0.0 to match actual API usage
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Display "✅ Authorized" in the Auth setting row when an auth token
is already saved, so users can confirm authentication at a glance.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>