seitime-frappe/commitlint.config.js
Ankush Menat 21a7291d00
ci: Stripped down config for Semantic checks (#17542)
* ci: Stripped down config for Semantic checks

Conventional commit enforces too many pointless rules, all we care about
is type and subject.

* ci: auto merge on commit pass
2022-07-19 14:32:34 +05:30

25 lines
394 B
JavaScript

module.exports = {
parserPreset: 'conventional-changelog-conventionalcommits',
rules: {
'subject-empty': [2, 'never'],
'type-case': [2, 'always', 'lower-case'],
'type-empty': [2, 'never'],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
],
],
},
};