Skip to content

Commit 42d8407

Browse files
committed
chore: exclude copilot from commitlint
1 parent 775f706 commit 42d8407

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

commitlint.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
export default {
22
extends: ["@commitlint/config-conventional"],
3-
ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)],
3+
ignores: [
4+
(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg),
5+
(msg) => /Co-authored-by:.*Copilot/m.test(msg)
6+
],
47
rules: {
58
// Disable the rule that enforces lowercase in subject
69
"subject-case": [0], // 0 = disable, 1 = warn, 2 = error

0 commit comments

Comments
 (0)