chore: clean up tsconfig update editorconfig

This commit is contained in:
marc-f 2025-04-13 14:52:10 +02:00
parent dd52d045e1
commit 14fd897a0c
2 changed files with 16 additions and 10 deletions

View file

@ -1,15 +1,16 @@
# Unix-style newlines with a newline ending every file
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{ts,js,css}]
charset = utf-8
indent_style = space
indent_size = 4
[*.{json,mjs}]
charset = utf-8
indent_style = space
indent_size = 2

View file

@ -1,14 +1,19 @@
{
"compilerOptions": {
"target": "ES6",
"module": "CommonJS",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2018",
"module": "ESNext",
"moduleResolution": "node",
"outDir": ".",
"strict": true,
"strictNullChecks": true,
"esModuleInterop": true,
"importHelpers": true,
"isolatedModules": true,
"skipLibCheck": true,
"baseUrl": ".",
"types": ["obsidian", "node"]
"types": ["obsidian", "node"],
"lib": ["ES2018", "DOM"],
"inlineSourceMap": true,
"inlineSources": true
},
"files": ["main.ts"]
"include": ["**/*.ts"]
}