mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-11-23 10:07:28 +03:00
fix: put back commintlint config because the server will need it
This commit is contained in:
parent
c45e4515bb
commit
db2a273845
25
commitlint.config.js
Normal file
25
commitlint.config.js
Normal file
@ -0,0 +1,25 @@
|
||||
// module.exports = {extends: ['@commitlint/config-conventional']}
|
||||
module.exports = {
|
||||
rules: {
|
||||
'header-max-length': [2, 'always', 100],
|
||||
|
||||
'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'feature', 'fix', 'refactor', 'style', 'test']],
|
||||
'type-empty': [2, 'never'],
|
||||
'type-case': [2, 'always', 'lower-case'],
|
||||
|
||||
'subject-empty': [2, 'never'],
|
||||
'subject-case': [
|
||||
0,
|
||||
'never',
|
||||
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
|
||||
],
|
||||
|
||||
'body-leading-blank': [2, 'always'],
|
||||
'body-max-line-length': [2, 'always', 200],
|
||||
'body-case': [0, 'never', []],
|
||||
|
||||
'footer-leading-blank': [1, 'always'],
|
||||
'footer-max-line-length': [2, 'always', 100]
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user