We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0a806 commit 7e8a994Copy full SHA for 7e8a994
.commitlintrc.ts
@@ -22,6 +22,16 @@ const config: UserConfig = {
22
],
23
24
},
25
+ // ignore commit messages github uses on their PR buttons, "Update" or "Merge branch"
26
+ ignores: [
27
+ (commitMessage) => {
28
+ // add an exception for github
29
+ return (
30
+ commitMessage.startsWith('Update ') ||
31
+ /^Merge branch '.*' into [a-zA-Z0-9\/\-_]+$/.test(commitMessage)
32
+ );
33
+ },
34
+ ],
35
};
36
37
export default config;
0 commit comments