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/package.json b/package.json index 416322eb..0a05291c 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "license": "ISC", "dependencies": { "@actions/core": "^1.9.1", - "@commitlint/cli": "^18.2.0", - "@commitlint/config-conventional": "^18.1.0", + "@commitlint/cli": "^19.0.3", + "@commitlint/config-conventional": "^19.2.2", "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^7.2.1", "@npmcli/git": "^5.0.3", 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], }, }