ci: stripped down semantic commit check

This commit is contained in:
Ankush Menat 2022-07-19 14:59:42 +05:30
parent a8179220be
commit 7788bc287c
2 changed files with 25 additions and 5 deletions

25
commitlint.config.js Normal file
View File

@ -0,0 +1,25 @@
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',
],
],
},
};

View File

@ -15,10 +15,5 @@
"dependencies": {
"html2canvas": "^1.1.4",
"onscan.js": "^1.5.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}