summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJoris Roovers <jroovers@cisco.com>2015-09-08 22:00:25 +0200
committerJoris Roovers <jroovers@cisco.com>2015-09-08 22:00:25 +0200
commit37ef713c5d8e3cf2c9b7dca96bd7989b92b66efc (patch)
tree37c70022448b653c6c139f91dcaf7a4b8852136d /examples
parent945e1a054fd9339c081c7c605f51e7eb92b106cb (diff)
TitleTrailingPunctuation rule
Rule that asserts that the title has no trailing whitespace.
Diffstat (limited to 'examples')
-rw-r--r--examples/commit-message-22
-rw-r--r--examples/commit-message-33
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/commit-message-2 b/examples/commit-message-2
index 3e9be79..599cfcc 100644
--- a/examples/commit-message-2
+++ b/examples/commit-message-2
@@ -1,3 +1,3 @@
-This is the title of a commit message that is over 80 characters and contains hard tabs and trailing whitespace and the word wiping
+This is the title of a commit message that is over 80 characters and contains hard tabs and trailing whitespace and the word wiping
This line should not contain text
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-3 b/examples/commit-message-3
new file mode 100644
index 0000000..9a4529e
--- /dev/null
+++ b/examples/commit-message-3
@@ -0,0 +1,3 @@
+This is the wip title of a commit message!
+
+Lines typically need to have a max length, meaning that they can't exceed a preset number of characters, usually 80 or 120.