Permalink
Browse files

Build: fix markerPattern and ticketPattern regexes in package.json

Commit messages used to fail the style check if they contained a word
starting with "ref", like reformat or reference, in their message body.

Close gh-3437
Ref jzaefferer/commitplease#91
  • Loading branch information...
1 parent a8816ca commit 25c6a0a2383dbd3176d9b90b1cbd1d621a9d3107 @all3fox all3fox committed with timmywil Jan 9, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 package.json
View
@@ -91,7 +91,7 @@
"Traversing",
"Wrap"
],
- "markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|(refs?)",
- "ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|(Refs? [^#])"
+ "markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
+ "ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
}
}

0 comments on commit 25c6a0a

Please sign in to comment.