๐ค emit-config
Rules that enforce best practices for TypeScript emit (output) configuration, including outDir, declaration, declarationMap, and sourceMap settings.
Config keyโ
tsconfig.configs["emit-config"]
Flat Config exampleโ
import tsconfig from "eslint-plugin-tsconfig";
export default [tsconfig.configs["emit-config"]];
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 |
| ๐ฃ all | Every rule, including experimental coverage |
| ๐งน 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 |