Add eslint to be run pre-commit #3064
Labels
Internal
For changes that affect the project's internal workings but not its outward-facing functionality.
Milestone
Problem
Currently, we have eslint but it is not actually used when committing and thus not enforcing any useful rules like for example sort-imports, which leads to different PRs rearranging imports and flooding PRs with unneeded changes. On top of this, eslint offers many other benefits that ensure code quality and consistency.
Solution
Add eslint to the husky pre-commit script
Alternatives
No response
The text was updated successfully, but these errors were encountered: