Lesson 40 of 56
TypescriptLinting & Formatting – ESLint, Prettier, and `eslint-plugin-typescript`
20 minutes
Course progress71%
Install ESLint & Prettier
npm i -D eslint prettier eslint-config-prettier eslint-plugin-prettier @typescript-eslint/parser @typescript-eslint/eslint-plugin
Init ESLint
npx eslint --init
Select TypeScript, React (if applicable), and Prettier integration.
Sample .eslintrc.json