11// Root tsconfig to set the settings and power editor support for all TS files
22{
3- "compileOnSave" : true ,
4- "compilerOptions" : {
5- // do not compile anything, this file is just to configure type checking
6- "noEmit" : true ,
7-
8- // check JS files
9- "allowJs" : true ,
10- "checkJs" : true ,
11-
12- "module" : " commonjs" ,
13- "moduleResolution" : " node" ,
14- "esModuleInterop" : true ,
15- // this is necessary for the automatic typing of the adapter config
16- "resolveJsonModule" : true ,
17-
18- // Set this to false if you want to disable the very strict rules (not recommended)
19- "strict" : true ,
20- // Or enable some of those features for more fine-grained control
21- // "strictNullChecks": true,
22- // "strictPropertyInitialization": true,
23- // "strictBindCallApply": true,
24- "noImplicitAny" : false ,
25- // "noUnusedLocals": true,
26- // "noUnusedParameters": true,
27- "useUnknownInCatchVariables" : false ,
28-
29- // Consider targetting es2019 or higher if you only support Node.js 12+
30- "target" : " es2019" ,
31-
32- },
33- "include" : [
34- " **/*.js" ,
35- " **/*.d.ts"
36- ],
37- "exclude" : [
38- " node_modules/**"
39- ]
3+ "compileOnSave" : true ,
4+ "compilerOptions" : {
5+ // do not compile anything, this file is just to configure type checking
6+ "noEmit" : true ,
7+ // check JS files
8+ "allowJs" : true ,
9+ "checkJs" : true ,
10+ "module" : " commonjs" ,
11+ "moduleResolution" : " node" ,
12+ "esModuleInterop" : true ,
13+ // this is necessary for the automatic typing of the adapter config
14+ "resolveJsonModule" : true ,
15+ // Set this to false if you want to disable the very strict rules (not recommended)
16+ "strict" : true ,
17+ // Or enable some of those features for more fine-grained control
18+ // "strictNullChecks": true,
19+ // "strictPropertyInitialization": true,
20+ // "strictBindCallApply": true,
21+ "noImplicitAny" : false ,
22+ // "noUnusedLocals": true,
23+ // "noUnusedParameters": true,
24+ "useUnknownInCatchVariables" : false ,
25+ // Consider targetting es2019 or higher if you only support Node.js 12+
26+ "target" : " es2019" ,
27+ },
28+ "include" : [
29+ " **/*.js" ,
30+ " **/*.d.ts"
31+ ],
32+ "exclude" : [
33+ " node_modules/**" ,
34+ " src-admin/**/*" ,
35+ " src/**/*" ,
36+ " admin/**/*" ,
37+ " node_modules/**/*" ,
38+ " test/**/*" ,
39+ " build/**/*" ,
40+ " tasks.js" ,
41+ " tmp/**/*" ,
42+ " .**/*" ,
43+ " .dev-server/" ,
44+ " .vscode/" ,
45+ " *.test.js" ,
46+ " test/**/*.js" ,
47+ " *.config.mjs" ,
48+ " build" ,
49+ " admin/build" ,
50+ " admin/words.js" ,
51+ " admin/admin.d.ts" ,
52+ " **/adapter-config.d.ts" ,
53+ ]
4054}
0 commit comments