ci: stripped down semantic commit check
diff --git a/commitlint.config.js b/commitlint.config.js
new file mode 100644
index 0000000..8847564
--- /dev/null
+++ b/commitlint.config.js
@@ -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',
+ ],
+ ],
+ },
+};
diff --git a/package.json b/package.json
index 8b2c342..6c11e9d 100644
--- a/package.json
+++ b/package.json
@@ -15,10 +15,5 @@
"dependencies": {
"html2canvas": "^1.1.4",
"onscan.js": "^1.5.2"
- },
- "commitlint": {
- "extends": [
- "@commitlint/config-conventional"
- ]
}
}