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
The walk stopped after 200 commits: lines older than 471ec40 point at it.
Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
line 1why, one step back1{Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
lines 2–12why, one step back2 /*3 TypeScript is being used to do type checking across both JavaScript and TypeScript files.4 In particular, this picks up some problems in the JSDoc in the JavaScript files, and validates the code5 is consistent with the JSDoc.6 7 The settings here are used by VSCode.8 9 See also tsconfig.js.json and tsconfig.ts.json.10 */11 /* Visit https://aka.ms/tsconfig to read more about tsconfig configuration. */12 "compilerOptions": {Modernise tsconfig targets, and add .cjs (#2481)John Geebefore adoptionca14529
lines 13–15why, one step back13 "lib": ["ESNext"],14 "module": "nodenext",15 "target": "esnext",Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
lines 16–18why, one step back1617 "allowJs": true,18 "checkJs": true,Reformat code with Prettier (#2180)John Geebefore adoption1bdc749
line 19why, one step back19Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
lines 20–21why, one step back20 /* Strict by default, but dial it down to reduce churn in our JavaScript code. */21 "strict": true,Reformat code with Prettier (#2180)John Geebefore adoption1bdc749
line 22why, one step back22 "noImplicitAny": false,Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
lines 23–25why, one step back23 "strictNullChecks": false,24 "useUnknownInCatchVariables": false,25Switch from Jest to Node.js built-in test runner (#2463)John Geebefore adoption3dd6086
line 26why, one step back26 "types": ["node"],Reformat code with Prettier (#2180)John Geebefore adoption1bdc749
lines 27–28why, one step back27 "noEmit": true /* just type checking and not emitting transpiled files */,28 "skipLibCheck": false /* we want to check our hand crafted definitions */,Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
line 29why, one step back29 "forceConsistentCasingInFileNames": true,Reformat code with Prettier (#2180)John Geebefore adoption1bdc749
line 30why, one step back30 "esModuleInterop": true /* common TypeScript config */,Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
lines 31–34why, one step back31 },32 "include": [33 /* JavaScript. Should match includes in tsconfig.js.json. */34 "*.js",Reformat code with Prettier (#2180)John Geebefore adoption1bdc749
line 35why, one step back35 ".prettierrc.js" /* missed by above pattern */,Modernise tsconfig targets, and add .cjs (#2481)John Geebefore adoptionca14529
line 36why, one step back36 "*.cjs",Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
lines 37–40why, one step back37 "*.mjs",38 "lib/**/*.js",39 /* TypeScript. Should match includes in tsconfig.ts.json. */40 "**/*.ts",Reformat code with Prettier (#2180)John Geebefore adoption1bdc749
line 41why, one step back41 "**/*.mts",Refactor type-checking setup (#1969)John Geebefore adoption96c6c25
line 42why, one step back42 ],Reformat code with Prettier (#2180)John Geebefore adoption1bdc749
line 43why, one step back43 "exclude": ["node_modules"],Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
line 44why, one step back44}