0Pricing
TypeScript Academy · Lesson

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-plugin

All lessons in this course

  1. ESLint + @typescript-eslint
  2. Prettier integration & rule conflicts
  3. Common real-world rule sets
← Back to TypeScript Academy