aevea / commitsar

Tool to check that commits comply with conventional commit standard
https://commitsar.aevea.ee
MIT License
133 stars 19 forks source link

Pre-commit hook #212

Open fallion opened 4 years ago

reitzig commented 6 months ago

Actually, a commit-msg hook (ref) would be nice, e.g. with evilmartians/lefthook.

Seems to me the main ingredient would be validating a file instead of a (range of) Git revision(s).

Workaround for those who stumble over this: cog verify --file {1} (via cocogitto/cocogitto) works; sorry for the "ad" but I didn't see a way to do it with commitsar. 🙏