2 ms·
We use pre-commit.com – configure your project with dotfiles for various tools so things like editor auto-format & lint, pre-commit, etc. can pick them up, and
by acdha 8y ago
We use pre-commit.com – configure your project with dotfiles for various tools so things like editor auto-format & lint, pre-commit, etc. can pick them up, and then have a Git pre-commit hook which is also run by your CI tool for consistency.
Here’s a reference:
https://github.com/LibraryOfCongress/coding-standards https://github.com/LibraryOfCongress/coding-standards
The CI check can be pretty simple — for example: https://github.com/LibraryOfCongress/concordia/blob/2f813f1813e69e24a7fe2230ccb945661ec55951/.travis.yml#L36 https://github.com/LibraryOfCongress/concordia/blob/2f813f18...