mnaoumov_obsidian-backlink-.../tsconfig.json
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

36 lines
849 B
JSON

{
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"allowArbitraryExtensions": true,
"allowImportingTsExtensions": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"inlineSourceMap": true,
"inlineSources": true,
"lib": [
"DOM",
"ES2024"
],
"libReplacement": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": true,
"skipLibCheck": false,
"target": "ES2024",
"types": [
"@total-typescript/ts-reset",
"node",
"obsidian-typings"
],
"verbatimModuleSyntax": true
},
"include": [
"./.markdownlint-cli2.mts",
"./commitlint.config.ts",
"./eslint.config.mts",
"./scripts/**/*.ts",
"./src/**/*.ts",
"./vitest.config.ts"
]
}