mnaoumov_obsidian-backlink-.../CLAUDE.md
Michael Naumov f32bbb7b58 refactor!: migrate to obsidian-dev-utils v2 component architecture
- Delete PluginTypes.ts and remove generic from PluginBase
- Convert PluginSettingsManager to PluginSettingsComponent with DI params
- Use constructor registerComponent() pattern for settings and settings tab
- Replace onSaveSettings override with event subscription on settings component
- Rename all source files to kebab-case (Plugin.ts -> plugin.ts, etc.)
- Add vitest test infrastructure with jsdom environment and obsidian-test-mocks
- Add 14 tests covering settings defaults, component creation, and plugin construction
- Update tsconfig: remove allowJs, svelte types; add vitest.config.ts to include
- Add obsidian-test-mocks, sass-embedded, vitest, jsdom as dev dependencies

BREAKING CHANGE: Requires obsidian-dev-utils v2 (component architecture).
2026-04-22 02:31:42 -06:00

336 B

CLAUDE.md

Known Issues

  • Lint, format, and spellcheck scripts fail when obsidian-dev-utils is installed via file: protocol because transitive tool dependencies (cspell, dprint, eslint-plugin-no-unsanitized) are not hoisted into the consumer's node_modules. This will resolve when obsidian-dev-utils v2 is published to npm.