ESLint + @typescript-eslint
Set up ESLint with @typescript-eslint plugin to catch type-aware issues and enforce consistent style.
Intro
Goal: Use ESLint with @typescript-eslint to catch bugs and enforce style in TypeScript projects.
Install
Install core ESLint plus @typescript-eslint/parser and @typescript-eslint/eslint-plugin.
npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-pluginAll lessons in this course
- ESLint + @typescript-eslint
- Prettier integration & rule conflicts
- Common real-world rule sets