diff options
author | Alexander Lisianoi <all3fox@gmail.com> | 2017-01-09 20:45:30 +0400 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2017-01-09 11:45:30 -0500 |
commit | 25c6a0a2383dbd3176d9b90b1cbd1d621a9d3107 (patch) | |
tree | 63a3114fdc79cc7a721fe273562316ea5ceefb5b /package.json | |
parent | a8816caf26c0acc7067cd5bad9c03cfb54e54979 (diff) | |
download | jquery-25c6a0a2383dbd3176d9b90b1cbd1d621a9d3107.tar.gz jquery-25c6a0a2383dbd3176d9b90b1cbd1d621a9d3107.zip |
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
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index f3d6010a7..16dc605bd 100644 --- a/package.json +++ b/package.json @@ -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? [^#])" } } |