Skip to content

Commit db2a273

Browse files
fix: put back commintlint config because the server will need it
1 parent c45e451 commit db2a273

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

commitlint.config.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// module.exports = {extends: ['@commitlint/config-conventional']}
2+
module.exports = {
3+
rules: {
4+
'header-max-length': [2, 'always', 100],
5+
6+
'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'feature', 'fix', 'refactor', 'style', 'test']],
7+
'type-empty': [2, 'never'],
8+
'type-case': [2, 'always', 'lower-case'],
9+
10+
'subject-empty': [2, 'never'],
11+
'subject-case': [
12+
0,
13+
'never',
14+
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
15+
],
16+
17+
'body-leading-blank': [2, 'always'],
18+
'body-max-line-length': [2, 'always', 200],
19+
'body-case': [0, 'never', []],
20+
21+
'footer-leading-blank': [1, 'always'],
22+
'footer-max-line-length': [2, 'always', 100]
23+
},
24+
};
25+

0 commit comments

Comments
 (0)