linagora / esn

OpenPaaS web & API server
4 stars 0 forks source link

Add linter local commit hook #43

Open alagane opened 2 years ago

alagane commented 2 years ago

We often have to comment pull request and edit commits because we have a linting error.

We could use husky to run linter before committing changes (and we might add push hook to run tests) We could use lint-staged which only run tests on staged files, to speed up the process.

Currently lint-staged cannot be used with node 10.24.1