groldsf_obsidian_check_plugin/tsconfig.json

35 lines
1.4 KiB
JSON
Raw Permalink Normal View History

2025-02-01 00:53:06 +00:00
{
"compilerOptions": {
"baseUrl": ".",
"inlineSourceMap": true,
"inlineSources": true,
"module": "ESNext",
"target": "ES2018",
2025-02-01 00:53:06 +00:00
"allowJs": true,
"noImplicitAny": true,
"moduleResolution": "node",
"importHelpers": true,
"isolatedModules": true,
"strictNullChecks": true,
"lib": [
"DOM",
"ES2018",
"DOM.Iterable"
2025-02-18 17:50:31 +00:00
],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
// "strict": true, // Включение этой опции активирует множество строгих проверок (включая noImplicitAny, strictNullChecks, и др.) - очень рекомендуется для новых проектов. Если сейчас вызовет много ошибок, можно добавлять постепенно.
2025-02-18 17:50:31 +00:00
// "rootDir": "src", // Указываем, где исходный код
// "outDir": "dist", // Куда компилировать
"resolveJsonModule": true, // Поддержка импорта JSON файлов
"skipLibCheck": true,
2025-02-01 00:53:06 +00:00
},
"include": [
2025-02-18 17:50:31 +00:00
"**/*.ts",
"src/**/*.ts", // Включаем только исходники из папки src
"__tests__/**/*.ts" // Включаем тесты из папки __tests__
],
"exclude": ["node_modules"],
2025-02-01 00:53:06 +00:00
}