#Eslint
3 notas · última:
2 must-have tools in your React Project for having a consistent codebase
The page argues that a consistent codebase improves readability, onboarding, reviews, and maintainability, and recommends pairing a formatter like Prettier or Dprint with ESLint in React projects.
Automatically Format your code on Git Commit using Husky, ESLint, Prettier in 9 minutes
The article shows how to automate code formatting on commit with Husky, ESLint, Prettier, and lint-staged so a project keeps a consistent style when developers commit code.
Turbocharged JavaScript refactoring with codemods
Airbnb describes codemods as a way to automate large JavaScript refactors, reduce manual cleanup, and bring old code closer to current style and lint rules with less effort.
