Skip to content

Commit 149065f

Browse files
committed
chore: ignore copilot autofix commits in commitlint
1 parent 1f9ef55 commit 149065f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

commitlint.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
module.exports = {
22
extends: ['@commitlint/config-conventional'],
3-
rules: {
4-
'body-max-line-length': [2, 'always', 300],
5-
'footer-max-line-length': [2, 'always', 300],
6-
},
3+
ignores: [
4+
(commit) => commit.includes('Co-authored-by: Copilot Autofix powered by AI'),
5+
],
76
};
87

0 commit comments

Comments
 (0)