-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
63 lines (57 loc) · 3.66 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
/* --------------- BASE TSCONFIG FILE --------------- */
/* -------------------------------------------------- */
"compilerOptions": {
"module": "esnext", /* Specify module code generation: "None", "CommonJS", "AMD", "System", "UMD", "ES6", "ES2015" or "ESNext". */
"lib": [ /* Specify library files to be included in the compilation: */
"dom",
"es2015",
"es2016",
"es2017",
"es2018",
"es2019",
"es2020",
"es2021"
],
"target": "es2017", /* Specify ECMAScript target version: "ES3" (default), "ES5", "ES6"/"ES2015", "ES2016", "ES2017" or "ESNext". */
/* Note: "ESNext" targets latest supported ES proposed features. */
"allowJs": false, /* Allow javascript files to be compiled. */
"checkJs": false, /* Report errors in .js files. */
/* Strict Type-Checking Options */
"strict": false, /* Enable all strict type checking options. */
/* enables: noImplicitAny, noImplicitThis, alwaysStrict, strictBindCallApply, strictNullChecks, strictFunctionTypes, strictPropertyInitialization */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"suppressImplicitAnyIndexErrors": true,/* Suppress --noImplicitAny errors for indexing objects lacking index signatures. See issue #1232 for more details. */
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
"strictBindCallApply": true, /* Enable stricter checking of of the 'bind', 'call', and 'apply' methods on functions. */
"strictNullChecks": false, /* In strict null checking mode, the 'null' and 'undefined' values are not in the domain of every type and are only assignable to themselves and 'any' */
/* (the one exception being that 'undefined' is also assignable to 'void'). */
"strictFunctionTypes": true, /* Disable bivariant parameter checking for function types. */
"strictPropertyInitialization": false,/* Ensure non-undefined class properties are initialized in the constructor. This option requires 'strictNullChecks' be enabled in order to take effect. */
"allowSyntheticDefaultImports": true,
/* Module Resolution Options */
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
/* Additional Checks */
"noUnusedLocals": true, /* Report errors on unused locals. */
"noUnusedParameters": true, /* Report errors on unused parameters. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/* js generation (by tsc) */
"declaration": true, /* Generates corresponding .d.ts file */
"removeComments": true, /* Remove all comments except copy-right header comments beginning with /*! */
/* Prevent errors from duplicate typings (nested dependencies) */
"typeRoots": [
"./node_modules/@types"
],
"jsx": "react"
},
"include": [
"typings.base.d.ts",
"packages/**/*.ts",
"packages/**/*.tsx",
"*.js",
"packages/**/*.js",
"packages/snipsonian-kunstmaancms-spa-cli/.eslintrc.js"
]
}