jorisroovers / gitlint

Linting for your git commit messages
http://jorisroovers.github.io/gitlint
MIT License
803 stars 99 forks source link

Integration tests: test match regex and ignore rules #448

Closed jorisroovers closed 1 year ago

jorisroovers commented 1 year ago

Integration tests for rules that use regexes.

The targetted rules don't really do anything unless they have a custom regex set. Since a default gitlint run doesn't meaningfully tests these rules, explicit tests for these rules ensure they work properly.