11module . exports = {
2+ extends : [ 'eslint' ] ,
23 rules : {
3- 'body-leading-blank' : [ 1 , 'always' ] ,
4- 'body-max-line-length' : [ 2 , 'always' , 100 ] ,
5- 'footer-leading-blank' : [ 1 , 'always' ] ,
6- 'footer-max-line-length' : [ 2 , 'always' , 100 ] ,
7- 'header-max-length' : [ 2 , 'always' , 100 ] ,
4+ 'body-max-length' : [ 0 , 'always' ] ,
5+ 'body-max-line-length' : [ 0 , 'always' ] ,
6+ 'footer-max-length' : [ 0 , 'always' ] ,
7+ 'footer-max-line-length' : [ 0 , 'always' ] ,
8+ 'header-max-length' : [ 0 , 'always' ] ,
9+ 'scope-max-length' : [ 0 , 'always' ] ,
10+ 'subject-max-length' : [ 0 , 'always' ] ,
11+ 'type-max-length' : [ 0 , 'always' ] ,
12+ 'footer-leading-blank' : [ 0 , 'always' ] ,
813 'subject-case' : [
914 2 ,
1015 'never' ,
1116 [ 'sentence-case' , 'start-case' , 'pascal-case' , 'upper-case' ] ,
1217 ] ,
1318 'subject-empty' : [ 2 , 'never' ] ,
14- 'subject-full-stop' : [ 2 , 'never' , '.' ] ,
19+ 'subject-full-stop' : [ 0 , 'never' , '.' ] ,
1520 'type-case' : [ 2 , 'always' , 'lower-case' ] ,
1621 'type-empty' : [ 2 , 'never' ] ,
1722 'type-enum' : [
@@ -20,85 +25,4 @@ module.exports = {
2025 [ 'breaking' , 'fix' , 'update' , 'new' , 'docs' , 'chore' ] ,
2126 ] ,
2227 } ,
23- prompt : {
24- settings : { } ,
25- messages : {
26- skip : ':skip' ,
27- max : 'upper %d chars' ,
28- min : '%d chars at least' ,
29- emptyWarning : 'can not be empty' ,
30- upperLimitWarning : 'over limit' ,
31- lowerLimitWarning : 'below limit' ,
32- } ,
33- questions : {
34- type : {
35- description : "Select the type of change that you're committing" ,
36- enum : {
37- update : {
38- description : 'An Update' ,
39- title : 'update' ,
40- emoji : '✨' ,
41- } ,
42- fix : {
43- description : 'A bug fix' ,
44- title : 'fix' ,
45- emoji : '🐛' ,
46- } ,
47- docs : {
48- description : 'Documentation only changes' ,
49- title : 'docs' ,
50- emoji : '📚' ,
51- } ,
52- breaking : {
53- description : 'A Major change' ,
54- title : 'breaking' ,
55- emoji : '🚨' ,
56- } ,
57- new : {
58- description : 'A new Feature' ,
59- title : 'new' ,
60- emoji : '📦' ,
61- } ,
62- chore : {
63- description :
64- "Other changes that don't modify src or test files" ,
65- title : 'Chores' ,
66- emoji : '♻️' ,
67- } ,
68- } ,
69- } ,
70- scope : {
71- description :
72- 'What is the scope of this change (e.g. component or file name)' ,
73- } ,
74- subject : {
75- description :
76- 'Write a short, imperative tense description of the change' ,
77- } ,
78- body : {
79- description : 'Provide a longer description of the change' ,
80- } ,
81- isBreaking : {
82- description : 'Are there any breaking changes?' ,
83- } ,
84- breakingBody : {
85- description :
86- 'A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself' ,
87- } ,
88- breaking : {
89- description : 'Describe the breaking changes' ,
90- } ,
91- isIssueAffected : {
92- description : 'Does this change affect any open issues?' ,
93- } ,
94- issuesBody : {
95- description :
96- 'If issues are closed, the commit requires a body. Please enter a longer description of the commit itself' ,
97- } ,
98- issues : {
99- description :
100- 'Add issue references (e.g. "fix #123", "re #123".)' ,
101- } ,
102- } ,
103- } ,
10428} ;
0 commit comments