ci(pre-commit): enforce commit message and javascript formatting
Developpers can install pre-commit
and docker
to check:
- commit message formatting with the EOLE official container
- javascript formatting using ESlint
For developers, the first run can be a little slow because of:
- the download of docker images
- the execution of
meteor npm install
To use it:
- install
pre-commit
on your distribution - execute the following command in the repository directory:
$ pre-commit install -t pre-commit -t commit-msg