Sam Therapy
684b06fba1
Some checks are pending
continuous-integration/drone/push Build is running
Signed-off-by: Sam Therapy <sam@samtherapy.net>
37 lines
2.5 KiB
JSON
37 lines
2.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"target": "es2020" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
|
|
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
|
"lib": [
|
|
"es6"
|
|
] /* Specify library files to be included in the compilation. */,
|
|
"outDir": "./dist" /* Redirect output structure to the directory. */,
|
|
"removeComments": true /* Do not emit comments to output. */,
|
|
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
|
|
"importHelpers": false /* Import emit helpers from 'tslib'. */,
|
|
"downlevelIteration": true /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */,
|
|
|
|
/* Strict Type-Checking Options */
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
"strictNullChecks": true /* Enable strict null checks. */,
|
|
"strictFunctionTypes": true /* Enable strict checking of function types. */,
|
|
"strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
|
|
"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. */,
|
|
|
|
/* 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. */,
|
|
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
"sourceMap": true /* Generates corresponding '.map' file. */
|
|
},
|
|
"include": ["./src"]
|
|
}
|