Add capability to verify each commit's sanity as per linter rules.
#330 opened on Oct 31, 2020
Repository metrics
- Stars
- (24,395 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Is your feature request related to a problem? Please describe. Currently, while committing the code there is no eslint rules check. It would be good to enforce eslint rules on each git commit. That is when the eslint will run and block the user from committing code which is not as per the ESLint rules, so that the codebase is aligned to the rules configured.
Describe the solution you'd like We can use husky to make this possible. Before each commit husky will manage the enforcement of eslint rules.
Describe alternatives you've considered Let me know if there are better solutions for this issue available.
Additional context
Join the Discord Server for further discussions.
Server Link: https://discord.gg/HHMs7Eg