DEV Community

loading...

Discussion on: Adding ESLint to Webpack with React and TypeScript

Collapse
igoradamenko profile image
Igor Adamenko • Edited

You don't need git add in the latest version of lint-staged, btw: github.com/okonet/lint-staged#v10

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?)

Collapse
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.