diff options
author | Joris Roovers <jroovers@cisco.com> | 2015-09-08 20:52:22 +0200 |
---|---|---|
committer | Joris Roovers <jroovers@cisco.com> | 2015-09-08 20:53:52 +0200 |
commit | 5e7efec332d8c80c8ce090362e6e667c055de918 (patch) | |
tree | ffe5caf424692e125666fdd52f0d9dd97a77e594 /examples | |
parent | 84ad0af795997db30d70edf3ed6701193b5f90b4 (diff) |
Title does not contain word rules
New rule that checks that title does not contain certain words. Defaults
to not containing the word 'WIP'.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/commit-message-1 | 2 | ||||
-rw-r--r-- | examples/commit-message-2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/commit-message-1 b/examples/commit-message-1 index 9f455a7..0cbe913 100644 --- a/examples/commit-message-1 +++ b/examples/commit-message-1 @@ -1,3 +1,3 @@ WIP: This is the title of a commit message. The second line should typically be empty -Lines typically need to have a max length, meaning that they can't exceed a preset number of characters, usually 80 or 120.
\ No newline at end of file +Lines typically need to have a max length, meaning that they can't exceed a preset number of characters, usually 80 or 120. diff --git a/examples/commit-message-2 b/examples/commit-message-2 index aa87167..bfc4ef6 100644 --- a/examples/commit-message-2 +++ b/examples/commit-message-2 @@ -1,3 +1,3 @@ -WIP: This is the title of a commit message that is over 80 characters and contains hard tabs and trailing whitespace +This is the title of a commit message that is over 80 characters and contains hard tabs and trailing whitespace and the word wiping The second line should typically be empty Lines typically need to have a max length, meaning that they can't exceed a preset number of characters, usually 80 or 120. |