๐ด Strict
Use when you want recommended-type-checked + additional stable runtime helpers.
Config keyโ
tsconfig.configs.strict
Flat Config exampleโ
import tsconfig from "eslint-plugin-tsconfig";
export default [tsconfig.configs.strict];
Rules in this presetโ
Fixlegend:๐ง= autofixable๐ก= suggestions availableโ= report only
Related presetsโ
| Preset | Description |
|---|---|
| ๐ก recommended | Default baseline for most TypeScript codebases |
| ๐ฃ all | Every rule, including experimental coverage |
| ๐ค emit-config | Best practices for TypeScript emit/output configuration |
| ๐งน include-hygiene | Clean include, exclude, and files patterns |
| ๐ฏ lib-target | Consistency between target, lib, and downlevelling |
| ๐ฆ module-resolution | Modern and consistent module resolution settings |
| ๐ project-references | Correct TypeScript project references setup |
| ๐ strict-mode | Strict mode options beyond the base strict flag |