Skip to content

ci(pre-commit): enforce commit message and javascript formatting

Daniel Dehennin requested to merge feature/pre-commit-with-docker into dev

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:

  1. the download of docker images
  2. the execution of meteor npm install

To use it:

  1. install pre-commit on your distribution
  2. execute the following command in the repository directory:
    $ pre-commit install -t pre-commit -t commit-msg

Merge request reports

Loading