mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 17:47:26 -05:00
[Maintenance] Add tsconfig excludes (#2380)
* Add tsconfig excludes * Release notes
This commit is contained in:
committed by
GitHub
parent
45c4b262a2
commit
e526555748
@@ -7,7 +7,11 @@
|
||||
"compilerOptions": {
|
||||
// "composite": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
"lib": [
|
||||
"ES2022",
|
||||
"DOM",
|
||||
"DOM.Iterable"
|
||||
],
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
@@ -19,7 +23,10 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"skipLibCheck": true,
|
||||
"jsx": "preserve",
|
||||
"types": ["vite/client", "jest"],
|
||||
"types": [
|
||||
"vite/client",
|
||||
"jest"
|
||||
],
|
||||
// Check JS files too
|
||||
"allowJs": true,
|
||||
"checkJs": false,
|
||||
@@ -31,17 +38,30 @@
|
||||
"noEmit": true,
|
||||
"paths": {
|
||||
// until we turn on composite/references
|
||||
"loot-core/*": ["./packages/loot-core/src/*"],
|
||||
"loot-core/*": [
|
||||
"./packages/loot-core/src/*"
|
||||
],
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "typescript-strict-plugin",
|
||||
"path": ["./packages"]
|
||||
"path": [
|
||||
"./packages"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"include": ["packages/**/*"],
|
||||
"exclude": ["**/node_modules/*", "**/build/*", "**/lib-dist/*"],
|
||||
"include": [
|
||||
"packages/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/node_modules/*",
|
||||
"**/build/*",
|
||||
"**/client-build/*",
|
||||
"**/dist/*",
|
||||
"**/lib-dist/*"
|
||||
],
|
||||
"ts-node": {
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS"
|
||||
|
||||
6
upcoming-release-notes/2380.md
Normal file
6
upcoming-release-notes/2380.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [joel-jeremy]
|
||||
---
|
||||
|
||||
Excludes folders in tsconfig to fix VS Code "Configure Excludes" warning.
|
||||
Reference in New Issue
Block a user