@html-validate/commitlint-config 3.6.6 → 3.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -233704,10 +233704,12 @@ var scopeMinLength = (parsed, _when = void 0, value = 0) => {
233704
233704
  };
233705
233705
 
233706
233706
  // node_modules/@commitlint/rules/lib/signed-off-by.js
233707
+ var CHERRY_PICK_REGEX = /^\(cherry picked from commit [0-9a-f]{7,64}\)$/i;
233707
233708
  var signedOffBy = (parsed, when = "always", value = "") => {
233708
233709
  const lines = toLines(parsed.raw).filter((ln) => (
233709
233710
  // skip comments
233710
- !ln.startsWith("#") && // ignore empty lines
233711
+ !ln.startsWith("#") && // skip cherry pick commits
233712
+ !CHERRY_PICK_REGEX.test(ln.trim()) && // ignore empty lines
233711
233713
  Boolean(ln)
233712
233714
  ));
233713
233715
  const last = lines[lines.length - 1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/commitlint-config",
3
- "version": "3.6.6",
3
+ "version": "3.6.7",
4
4
  "description": "Commitlint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "commitlint"