mirror of
https://github.com/groldsf/obsidian_check_plugin.git
synced 2026-07-22 05:37:48 +00:00
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "ESNext",
|
|
"target": "ES2018",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"lib": [
|
|
"DOM",
|
|
"ES2018",
|
|
"DOM.Iterable"
|
|
],
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
// "strict": true, // Включение этой опции активирует множество строгих проверок (включая noImplicitAny, strictNullChecks, и др.) - очень рекомендуется для новых проектов. Если сейчас вызовет много ошибок, можно добавлять постепенно.
|
|
// "rootDir": "src", // Указываем, где исходный код
|
|
// "outDir": "dist", // Куда компилировать
|
|
"resolveJsonModule": true, // Поддержка импорта JSON файлов
|
|
"skipLibCheck": true,
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"src/**/*.ts", // Включаем только исходники из папки src
|
|
"__tests__/**/*.ts" // Включаем тесты из папки __tests__
|
|
],
|
|
"exclude": ["node_modules"],
|
|
}
|