mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: improve commitlint configuration
Added types: build, feature no longer checks subject's case now forces a leading blank before body (This is required by Github) Increased body length to 200
This commit is contained in:
parent
87cc542275
commit
be3141b08e
@ -3,20 +3,20 @@ module.exports = {
|
||||
rules: {
|
||||
'header-max-length': [2, 'always', 100],
|
||||
|
||||
'type-enum': [2, 'always', ['chore', 'ci', 'docs', 'feat', 'fix', 'refactor', 'style', 'test']],
|
||||
'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': [
|
||||
2,
|
||||
0,
|
||||
'never',
|
||||
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
|
||||
],
|
||||
'subject-empty': [2, 'never'],
|
||||
|
||||
'body-leading-blank': [1, 'always'],
|
||||
'body-max-line-length': [2, 'always', 100],
|
||||
'body-case': [2, 'never', []],
|
||||
'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