From f7c1f1ece6a9c7ba198200ae5768fe3d373b45bd Mon Sep 17 00:00:00 2001 From: Thomas Hauschild <7961978+Morgy93@users.noreply.github.com> Date: Tue, 13 Jan 2026 08:21:25 +0100 Subject: [PATCH] chore: ignore copilot autofix commits in commitlint --- commitlint.config.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index bbad100..e01a75f 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,8 +1,7 @@ module.exports = { extends: ['@commitlint/config-conventional'], - rules: { - 'body-max-line-length': [2, 'always', 300], - 'footer-max-line-length': [2, 'always', 300], - }, + ignores: [ + (commit) => commit.includes('Co-authored-by: Copilot Autofix powered by AI'), + ], };