Strict compiler flags
| Field | Value |
|---|---|
| Tool | TypeScript |
| Enable via | tsconfig/strict.json |
| Source | packages/rules/tsconfig/strict.json |
| Docs | packages/rules/docs/tsconfig.md |
What it catches
Section titled “What it catches”15 flags: strict, noUncheckedIndexedAccess, exactOptionalPropertyTypes, and more.
Compiler options
Section titled “Compiler options”{ "target": "ES2023", "lib": [ "ES2023" ], "module": "NodeNext", "moduleResolution": "NodeNext", "moduleDetection": "force", "strict": true, "noUncheckedIndexedAccess": true, "exactOptionalPropertyTypes": true, "noImplicitOverride": true, "isolatedModules": true, "verbatimModuleSyntax": true, "erasableSyntaxOnly": true, "forceConsistentCasingInFileNames": true, "skipLibCheck": true, "noEmit": true}This rule is one of several in the TypeScript preset. The TypeScript page carries the full preset docs from packages/rules/docs/tsconfig.md.