๐ข jsconfig
Use when you lint jsconfig.json files and want strong JavaScript-project compiler-option hygiene without TS-only project-reference constraints.
Config keyโ
tsconfig.configs.jsconfig
Flat Config exampleโ
import tsconfig from "eslint-plugin-tsconfig";
export default [tsconfig.configs.jsconfig];
Rules in this presetโ
Fixlegend:๐ง= autofixable๐ก= suggestions availableโ= report only
Related presetsโ
| Preset | Description |
|---|---|
| ๐ก recommended | Default baseline for most TypeScript codebases |
| ๐ด strict | Recommended plus a richer set of safety rules |
| ๐ strictest | Maximum strict compiler-settings coverage |
| ๐ฃ all | Every rule, including experimental coverage |
| ๐ฆ module-resolution | Modern and consistent module resolution settings |
| ๐งน include-hygiene | Clean include, exclude, and files patterns |
| ๐ strict-mode | Strict mode options beyond the base strict flag |