Mirror of https://github.com/roostorg/coop
github.com/roostorg/coop
1{
2 "compilerOptions": {
3 "target": "ES2021" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
4 "module": "NodeNext" /* Specify what module code is generated. */,
5 "moduleResolution": "NodeNext" /* Specify how TypeScript looks up a file from a given module specifier. */,
6 "allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
7 "rootDir": "src",
8 "outDir": "./build" /* Specify an output folder for all emitted files. */,
9 "esModuleInterop": true,
10 "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
11
12 /* Type Checking */
13 "strict": true /* Enable all strict type-checking options. */,
14 "noImplicitAny": true /* Enable error reporting when 'this' is given the type 'any'. */,
15 "useUnknownInCatchVariables": true /* Ensure 'use strict' is always emitted. */,
16 "noUnusedLocals": true /* Enable error reporting when local variables aren't read. */,
17 "noUnusedParameters": true /* Raise an error when a function parameter isn't read. */,
18 "exactOptionalPropertyTypes": true /* Interpret optional property types as written, rather than adding 'undefined'. */,
19 "noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */,
20 "noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements. */,
21 "noUncheckedIndexedAccess": true /* Add 'undefined' to a type when accessed using an index. */,
22 "noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */,
23 "allowUnusedLabels": true /* Disable error reporting for unused labels. */,
24 "skipLibCheck": true /* Skip type checking all .d.ts files. */
25 },
26 "include": ["src/**/*"],
27 // we manually copy the scripts folder over so we don't want tsc to mess
28 // anything up
29 "exclude": ["src/scripts"]
30}