Skip to content

Commit 69458b2

Browse files
authored
Merge pull request #312 from dafyddj/chore/commitlint
chore: exclude Copier and `pre-commit.ci` commits from linting
2 parents db896ca + c0ac6d9 commit 69458b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commitlint.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ module.exports = {
66
'header-max-length': [2, 'always', 72],
77
},
88
ignores: [
9+
(commit) => commit.startsWith("chore(copier):"),
910
(commit) => commit.startsWith("chore(deps):"),
11+
(commit) => commit.startsWith("ci(pre-commit.ci):"),
1012
(commit) => commit.startsWith("[CI merge]")
1113
],
1214
};

0 commit comments

Comments
 (0)