ddddavidmartin / Pre-commit-hooks

A set of useful (and documented!) git pre-commit hooks.
BSD 2-Clause "Simplified" License
101 stars 30 forks source link

Use config files for hooks configuration #8

Closed ddddavidmartin closed 7 years ago

ddddavidmartin commented 7 years ago

Currently we have to configure the hooks by modifying the actual hook scripts under version control. This is a bit clunky as it makes it hard to for example switch between branches without losing configuration.

This pull request introduces config files to take care of hook configurations.

Basically: