@commitlint/cli
Advanced tools
Comparing version 13.0.0 to 13.1.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24) | ||
### Bug Fixes | ||
* **cli:** remove hard coded comment char with linting `COMMIT_EDIT_MSG` ([#2618](https://github.com/conventional-changelog/commitlint/issues/2618)) ([5badf6d](https://github.com/conventional-changelog/commitlint/commit/5badf6dc08116ed3557e6c780e55764b4f07ca67)), closes [#2351](https://github.com/conventional-changelog/commitlint/issues/2351) | ||
# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24) | ||
@@ -8,0 +19,0 @@ |
@@ -199,4 +199,6 @@ "use strict"; | ||
const format = loadFormatter(loaded, flags); | ||
// Strip comments if reading from `.git/COMMIT_EDIT_MSG` | ||
if (flags.edit) { | ||
// Strip comments if reading from `.git/COMMIT_EDIT_MSG` using the | ||
// commentChar from the parser preset falling back to a `#` if that is not | ||
// set | ||
if (flags.edit && typeof opts.parserOpts.commentChar !== 'string') { | ||
opts.parserOpts.commentChar = '#'; | ||
@@ -203,0 +205,0 @@ } |
{ | ||
"name": "@commitlint/cli", | ||
"version": "13.0.0", | ||
"version": "13.1.0", | ||
"description": "Lint your commit messages", | ||
@@ -46,7 +46,7 @@ "files": [ | ||
"dependencies": { | ||
"@commitlint/format": "^13.0.0", | ||
"@commitlint/lint": "^13.0.0", | ||
"@commitlint/load": "^13.0.0", | ||
"@commitlint/read": "^13.0.0", | ||
"@commitlint/types": "^13.0.0", | ||
"@commitlint/format": "^13.1.0", | ||
"@commitlint/lint": "^13.1.0", | ||
"@commitlint/load": "^13.1.0", | ||
"@commitlint/read": "^13.1.0", | ||
"@commitlint/types": "^13.1.0", | ||
"lodash": "^4.17.19", | ||
@@ -57,3 +57,3 @@ "resolve-from": "5.0.0", | ||
}, | ||
"gitHead": "ca0ddf736a495fe6868cb9b4c43ae65476a5a6bf" | ||
"gitHead": "dfbb8c5e9481a5075458acad2e4666fd6b98f9a7" | ||
} |
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
52432
387
Updated@commitlint/format@^13.1.0
Updated@commitlint/lint@^13.1.0
Updated@commitlint/load@^13.1.0
Updated@commitlint/read@^13.1.0
Updated@commitlint/types@^13.1.0