chore: introduce commit linting (#512)

Closes #501.
pull/494/head
Shahar Dawn Or 5 years ago committed by GitHub
parent e018fdf79f
commit e9b91aeff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,6 +3,7 @@ language: node_js
node_js:
- v12.10.0
script:
- commitlint-travis
- run-s test docs check-clean
env:
global:

@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };

1225
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -10,6 +10,9 @@
"test": "test"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/travis-cli": "^8.2.0",
"@types/assert": "^1.4.3",
"@types/lodash.shuffle": "^4.2.6",
"@types/mocha": "^5.2.7",
@ -94,6 +97,7 @@
"homepage": "https://github.com/paldepind/snabbdom#readme",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "run-s docs check-clean test"
}
},

Loading…
Cancel
Save