File tree 2 files changed +20
-15
lines changed
2 files changed +20
-15
lines changed Original file line number Diff line number Diff line change
1
+ const Configuration = {
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
+ } ;
19
+
20
+ module . exports = Configuration ;
Original file line number Diff line number Diff line change 49
49
"node-fetch" : " ^2.6.7" ,
50
50
"underscore@npm" : " ^1.13.2"
51
51
},
52
- "commitlint" : {
53
- "extends" : [
54
- " @commitlint/config-conventional"
55
- ],
56
- "rules" : {
57
- "body-leading-blank" : [
58
- 2 ,
59
- " always"
60
- ],
61
- "footer-leading-blank" : [
62
- 2 ,
63
- " always"
64
- ]
65
- }
66
- },
67
52
"scripts" : {
68
53
"depcheck" : " depcheck ." ,
69
54
"changelog" : " conventional-changelog --infile CHANGELOG.md --same-file --release-count 0 && prettier --write CHANGELOG.md" ,
You can’t perform that action at this time.
0 commit comments