aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorAlexander Lisianoi <all3fox@gmail.com>2017-01-09 20:45:30 +0400
committerTimmy Willison <4timmywil@gmail.com>2017-01-09 11:45:30 -0500
commit25c6a0a2383dbd3176d9b90b1cbd1d621a9d3107 (patch)
tree63a3114fdc79cc7a721fe273562316ea5ceefb5b /package.json
parenta8816caf26c0acc7067cd5bad9c03cfb54e54979 (diff)
downloadjquery-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.json4
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? [^#])"
}
}