TypeScript files: the strict compiler and the shipped lint and structure rules. It requires javascript. The JavaScript and TypeScript guide explains the setup.
| Check |
Stage |
Level |
What it does |
typescript/tsc |
push |
recommended |
Runs tsc with the strict compiler options over every TypeScript file. |
typescript/tsconfig |
commit |
recommended |
Requires strict in every tsconfig you write. Level all also requires noUncheckedIndexedAccess, exactOptionalPropertyTypes, noImplicitOverride, noFallthroughCasesInSwitch, noImplicitReturns, and noPropertyAccessFromIndexSignature. |
gspot selects it in a scope with file extensions .ts, .tsx, .mts, .cts, or filenames tsconfig.json. A configuration that requires it selects it too: nestjs, nextjs.
| Rule file |
Installed when |
.gspot/configurations/language/typescript/rules/TYPESCRIPT.md |
Always |
| Tool |
Version |
| typescript-eslint |
8.70.0 |