diff options
author | Joris Roovers <jroovers@cisco.com> | 2015-10-04 18:22:35 +0200 |
---|---|---|
committer | Joris Roovers <jroovers@cisco.com> | 2015-10-04 18:22:35 +0200 |
commit | 6ae277ccd3550e418272b42ce859bb67b19d2d73 (patch) | |
tree | d9b2340c96a86eee6a9cd0059df7f23b72fdb8b1 /README.md | |
parent | b3dd35c1ea8d5fb25382919a8df8eb5523bd65db (diff) |
gitlint-ignore commit msg config can now ignore specific rules
Before, gitlint would only parse 'gitlint-ignore: all', now it also
supports 'gitlint-ignore: T1, body-hard-tab' and similar rules.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -184,7 +184,8 @@ I want gitlint to ignore this entire commit message. gitlint-ignore: all ``` -```gitlint-ignore: all``` can occur on any line, as long as it is at the start of the line. +```gitlint-ignore: all``` can occur on any line, as long as it is at the start of the line. You can also specify +specific rules to be ignore as follows: ```gitlint-ignore: T1, body-hard-tab```. **NOTE: gitlint currently does not support disabling \*specific\* rules on a per commit basis** @@ -260,8 +261,6 @@ python setup.py --long-description | rst2html.py > output.html - More rule options: - title-must-not-contain-word: case sensitive match - title-trailing-punctuation: define punctuation -- Config improvements: - - gitlint ignore for specific rules in commit message: ```gitlint-ignore: T2,body-hard-tab``` - Rule improvements: - body-changed-file-mention: list all files/directories that need to be mentioned as part of the violation - body-changed-file-mention: distinction between change file and directory in output |