17 lines
494 B
JavaScript
17 lines
494 B
JavaScript
/**
|
|
* https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type
|
|
*/
|
|
export default {
|
|
'extends': ['@commitlint/config-conventional'],
|
|
'rules': {
|
|
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'style', 'refactor', 'test', 'chore', 'revert', 'release', 'build', 'ci']],
|
|
},
|
|
'type-case': [0],
|
|
'type-empty': [0],
|
|
'scope-empty': [0],
|
|
'scope-case': [0],
|
|
'subject-full-stop': [0, 'never'],
|
|
'subject-case': [0, 'never'],
|
|
'header-max-length': [0, 'always', 72],
|
|
};
|