philemonchiro_obsidian-note.../tsconfig.json
Philemon Chiro 3ebc6f485a v0.1.2: address Obsidian community-store reviewer bot
Bumps minAppVersion to 1.7.2 (the lowest version where every API the
plugin uses is supported — processFrontMatter and revealLeaf were the
two that pushed this up).

ESLint pass against eslint-plugin-obsidianmd is now clean (0 errors,
0 warnings). Notable changes:

- Removes the deprecated MarkdownRenderer.renderMarkdown fallback;
  always uses MarkdownRenderer.render now (minAppVersion covers it)
- Replaces Workspace.activeLeaf reads with Workspace.getActiveViewOfType
- Replaces Vault.trash with FileManager.trashFile to respect the user's
  configured deletion preference
- Replaces window.confirm() with a small ConfirmModal so the bulk-delete
  prompt is consistent with the rest of the UI
- Dynamic style assignments now use HTMLElement.setCssStyles rather than
  el.style.* directly
- All static modal styling has been moved out of inline styles into CSS
  classes (keep-modal-stack, keep-modal-row, keep-modal-buttons, etc.)
- Async event handlers that returned Promise<void> where the listener
  expects void are now sync wrappers that internally void-await
- Empty catch blocks now have explanatory comments
- Removes 'this' aliasing in openNotePreview (uses arrow function instead)
- Drops unused vars and fixes sentence case in setting descriptions

Adds eslint.config.mjs with the obsidianmd recommended config so future
changes can be lint-checked locally before pushing.
2026-05-01 20:08:14 +02:00

21 lines
507 B
JSON

{
"compilerOptions": {
"baseUrl": ".",
"inlineSourceMap": true,
"inlineSources": true,
"module": "ESNext",
"target": "ES2020",
"allowJs": true,
"noImplicitAny": false,
"moduleResolution": "node",
"importHelpers": true,
"isolatedModules": true,
"strictNullChecks": false,
"lib": ["DOM", "ES2020"],
"esModuleInterop": true,
"skipLibCheck": true,
"downlevelIteration": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "main.js"]
}