Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Commit 09a5f24

Browse files
committed
feat: conventional commits compatible config
1 parent eac9808 commit 09a5f24

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/config.js

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
/**
2-
* commitlint rules
2+
* commitlint Conventional Commits rules
33
*
4-
* https://github.com/marionebl/commitlint/blob/master/docs/reference-rules.md
4+
* https://conventionalcommits.org
55
*/
6-
module.exports = {}
6+
module.exports = {
7+
rules: {
8+
'body-leading-blank': [2, 'always'],
9+
'subject-empty': [2, 'never'],
10+
'type-empty': [2, 'never']
11+
}
12+
}

0 commit comments

Comments
 (0)