mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
chore: change the commit rules
This commit is contained in:
parent
9d4b93412a
commit
e0128cf905
@ -58,6 +58,7 @@ module.exports = {
|
||||
confirmCommit: 'Are you sure you want to proceed with the commit above?',
|
||||
},
|
||||
|
||||
subjectLimit: 72,
|
||||
allowCustomScopes: false,
|
||||
allowBreakingChanges: ['feat', 'fix'],
|
||||
};
|
||||
|
@ -1 +1,6 @@
|
||||
module.exports = {extends: ['@commitlint/config-conventional']}
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
rules: {
|
||||
'header-max-length': [2, 'always', 72],
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user