@commitlint/rules
Advanced tools
Comparing version 17.6.0 to 17.6.1
@@ -11,8 +11,8 @@ "use strict"; | ||
* Since the rule requires first symbol of a subject to be a letter, use | ||
* combination of Unicode `Cased_Letter` and `Other_Letter` categories now to | ||
* allow non-Latin alphabets as well. | ||
* Unicode `Cased_Letter` category now to allow non-Latin alphabets as well. | ||
* | ||
* Do not use `Letter` category directly to avoid capturing `Modifier_Letter` | ||
* (which just modifiers letters, so we probably shouldn't anyway) and to stay | ||
* close to previous implementation. | ||
* (which just modifiers letters, so we probably shouldn't anyway) and | ||
* `Other_Letter` (they actually are case-less, so they can't be validated) | ||
* categories, and to stay close to previous implementation. | ||
* | ||
@@ -25,3 +25,3 @@ * Also, typescript does not seem to support almost any longhand category name | ||
*/ | ||
const startsWithLetterRegex = /^[\p{Ll}\p{Lu}\p{Lt}\p{Lo}]/iu; | ||
const startsWithLetterRegex = /^[\p{Ll}\p{Lu}\p{Lt}]/iu; | ||
const negated = (when) => when === 'never'; | ||
@@ -28,0 +28,0 @@ const subjectCase = (parsed, when = 'always', value = []) => { |
{ | ||
"name": "@commitlint/rules", | ||
"version": "17.6.0", | ||
"version": "17.6.1", | ||
"description": "Lint your commit messages", | ||
@@ -51,3 +51,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "28bc4c77072cea7e97187cb8cf7e138428ece6b6" | ||
"gitHead": "5da1048f87abfdab8419df88a69d8fe60016e60f" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83445