jumanjihouse / pre-commit-hooks

git pre-commit hooks that work with http://pre-commit.com/
MIT License
114 stars 52 forks source link

Feature Request: check-mailmap alphabetize #105

Open jamesbraza opened 2 years ago

jamesbraza commented 2 years ago

I am a fan of check-mailmap and use this hook.

I think it would be cool if check-mailmap had an argument to confirm the .mailmap is alphabetically ordered.

Bonus points: in-place modify the .mailmap to be alphabetic, similar to how an autoformatter pre-commit hook (e.g. black, isort) would do.