-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Specialized tsconfig for type-checking js files | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": {}, | ||
"include": [ | ||
"**/*.js", | ||
"**/*.d.ts" | ||
], | ||
"exclude": [ | ||
"**/build", | ||
"node_modules/", | ||
"widgets/" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Root tsconfig to set the settings and power editor support for all TS files | ||
{ | ||
"compileOnSave": true, | ||
"compilerOptions": { | ||
// do not compile anything, this file is just to configure type checking | ||
"noEmit": true, | ||
// check JS files | ||
"allowJs": true, | ||
"checkJs": true, | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
// this is necessary for the automatic typing of the adapter config | ||
"resolveJsonModule": true, | ||
// Set this to false if you want to disable the very strict rules (not recommended) | ||
"strict": true, | ||
// Or enable some of those features for more fine-grained control | ||
// "strictNullChecks": true, | ||
// "strictPropertyInitialization": true, | ||
// "strictBindCallApply": true, | ||
"noImplicitAny": false, | ||
// "noUnusedLocals": true, | ||
// "noUnusedParameters": true, | ||
"useUnknownInCatchVariables": false, | ||
"target": "es2020", | ||
}, | ||
"include": [ | ||
"**/*.js", | ||
"**/*.d.ts" | ||
], | ||
"exclude": [ | ||
"node_modules/**" | ||
] | ||
} |