From 98bd53a4e5147f1b3fdeee152453596cf6893ab6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 14:53:09 +0000 Subject: [PATCH 1/3] deps: bump @commitlint/cli from 18.6.1 to 19.0.3 Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 18.6.1 to 19.0.3. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.0.3/@commitlint/cli) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 416322eb..fdec696c 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "license": "ISC", "dependencies": { "@actions/core": "^1.9.1", - "@commitlint/cli": "^18.2.0", + "@commitlint/cli": "^19.0.3", "@commitlint/config-conventional": "^18.1.0", "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^7.2.1", From 44269049ac6e50d38411677250316748aa34ae75 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 15 Apr 2024 12:27:39 -0700 Subject: [PATCH 2/3] deps: @commitlint/config-conventional@19.2.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fdec696c..0a05291c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "dependencies": { "@actions/core": "^1.9.1", "@commitlint/cli": "^19.0.3", - "@commitlint/config-conventional": "^18.1.0", + "@commitlint/config-conventional": "^19.2.2", "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^7.2.1", "@npmcli/git": "^5.0.3", From 5909303979852539471fef8aef6ef27afd00b386 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 15 Apr 2024 12:47:35 -0700 Subject: [PATCH 3/3] fix: turn of body-max-line-length commitlint rule --- .commitlintrc.js | 3 ++- lib/content/commitlintrc-js.hbs | 3 ++- tap-snapshots/test/apply/source-snapshots.js.test.cjs | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.commitlintrc.js b/.commitlintrc.js index 5b0b1a52..e9c80b92 100644 --- a/.commitlintrc.js +++ b/.commitlintrc.js @@ -5,6 +5,7 @@ module.exports = { rules: { 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']], 'header-max-length': [2, 'always', 80], - 'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']], + 'subject-case': [0], + 'body-max-line-length': [0], }, } diff --git a/lib/content/commitlintrc-js.hbs b/lib/content/commitlintrc-js.hbs index 26966878..8b19e3fa 100644 --- a/lib/content/commitlintrc-js.hbs +++ b/lib/content/commitlintrc-js.hbs @@ -3,6 +3,7 @@ module.exports = { rules: { 'type-enum': [2, 'always', [{{{ join (quote (pluck changelogTypes "type")) }}}]], 'header-max-length': [2, 'always', 80], - 'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']], + 'subject-case': [0], + 'body-max-line-length': [0], }, } diff --git a/tap-snapshots/test/apply/source-snapshots.js.test.cjs b/tap-snapshots/test/apply/source-snapshots.js.test.cjs index 092be5f4..83e02510 100644 --- a/tap-snapshots/test/apply/source-snapshots.js.test.cjs +++ b/tap-snapshots/test/apply/source-snapshots.js.test.cjs @@ -15,7 +15,8 @@ module.exports = { rules: { 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']], 'header-max-length': [2, 'always', 80], - 'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']], + 'subject-case': [0], + 'body-max-line-length': [0], }, } @@ -1448,7 +1449,8 @@ module.exports = { rules: { 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']], 'header-max-length': [2, 'always', 80], - 'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']], + 'subject-case': [0], + 'body-max-line-length': [0], }, }