From 6ee3ab36db6baa14cc6e3ecf2b3ad315ede3ae67 Mon Sep 17 00:00:00 2001 From: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com> Date: Wed, 19 Feb 2025 09:15:39 -0500 Subject: [PATCH] fix: increase commitlint header-max-length for squashed PR numbers (#487) --- edx_lint/files/commitlint.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/edx_lint/files/commitlint.config.js b/edx_lint/files/commitlint.config.js index e6bd571..e47dd62 100644 --- a/edx_lint/files/commitlint.config.js +++ b/edx_lint/files/commitlint.config.js @@ -9,6 +9,9 @@ const Configuration = { 'revert', 'feat', 'fix', 'perf', 'docs', 'test', 'build', 'refactor', 'style', 'chore', 'temp', ]], + // Increase the header max length to account for PR numbers on squash merges + 'header-max-length': [2, 'always', 110], + // Default rules we want to suppress: 'body-leading-blank': [0, "always"], 'body-max-line-length': [0, "always"],