tsconfig.json
This file
Path
tsconfig.json
44 lines · 1.4 KiB · JSON
Last changed by
Modernise tsconfig targets, and add .cjs (#2481)John Geebefore adoptionca14529
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ /* TypeScript is being used to do type checking across both JavaScript and TypeScript files. In particular, this picks up some problems in the JSDoc in the JavaScript files, and validates the code is consistent with the JSDoc. The settings here are used by VSCode. See also tsconfig.js.json and tsconfig.ts.json. */ /* Visit https://aka.ms/tsconfig to read more about tsconfig configuration. */ "compilerOptions": { "lib": ["ESNext"], "module": "nodenext", "target": "esnext",
"allowJs": true, "checkJs": true,
/* Strict by default, but dial it down to reduce churn in our JavaScript code. */ "strict": true, "noImplicitAny": false, "strictNullChecks": false, "useUnknownInCatchVariables": false,
"types": ["node"], "noEmit": true /* just type checking and not emitting transpiled files */, "skipLibCheck": false /* we want to check our hand crafted definitions */, "forceConsistentCasingInFileNames": true, "esModuleInterop": true /* common TypeScript config */, }, "include": [ /* JavaScript. Should match includes in tsconfig.js.json. */ "*.js", ".prettierrc.js" /* missed by above pattern */, "*.cjs", "*.mjs", "lib/**/*.js", /* TypeScript. Should match includes in tsconfig.ts.json. */ "**/*.ts", "**/*.mts", ], "exclude": ["node_modules"],}