DEV Community


Discussion on: Adding ESLint to Webpack with React and TypeScript

igoradamenko profile image
Igor Adamenko • Edited

You don't need git add in the latest version of lint-staged, btw:

Anyway, thanks, I didn't know about the practice of running ESLint using webpack. Quite surprised!

(But I'm just curious, what does r in lint:r mean?)

alexi_be3 profile image
Alexi Taylor 🐶 Author • Edited

Thank you for catching that change from lint-staged. I added an update section.

In our team we have several linting scripts, the lint:r was to lint any React related code.