Skip to content

Commit 3340837

Browse files
committed
chore: commitlint
1 parent 5ac19f1 commit 3340837

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

commitlint.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
/*
3+
* Resolve and load @commitlint/config-conventional from node_modules.
4+
* Referenced packages must be installed
5+
*/
6+
extends: ["@commitlint/config-conventional"],
7+
/*
8+
* Any rules defined here will override rules from @commitlint/config-conventional
9+
*/
10+
rules: {
11+
"body-leading-blank": [2, "always"],
12+
"footer-leading-blank": [2, "always"],
13+
},
14+
/*
15+
* Custom URL to show upon failure
16+
*/
17+
helpUrl: "https://github.com/conventional-changelog/commitlint/#what-is-commitlint",
18+
};

0 commit comments

Comments
 (0)