Skip to content

Commit db904f8

Browse files
committed
Set conventions for commit messages
1 parent f7c36f9 commit db904f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// This file is used to lint our commit messages with commitlint
2+
// https://commitlint.js.org/
3+
4+
// Each commit message consists of a header, a body and a footer.
5+
// <header>
6+
// <BLANK LINE>
7+
// <body>
8+
// <BLANK LINE>
9+
// <footer>
10+
//
11+
12+
module.exports = {
13+
rules: {
14+
"header-case": [2, "always", "sentence-case"],
15+
"header-max-length": [2, "always", 100],
16+
"header-full-stop": [2, "never", "."],
17+
},
18+
};

0 commit comments

Comments
 (0)