feat: enabling commitlint

v1.18.x
Julian Lam 6 years ago
parent e8a3d929f1
commit c58a41ed72

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

@ -18,7 +18,8 @@
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
} }
}, },
"lint-staged": { "lint-staged": {
@ -129,6 +130,8 @@
"zxcvbn": "^4.4.2" "zxcvbn": "^4.4.2"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-angular": "^7.1.2",
"coveralls": "3.0.2", "coveralls": "3.0.2",
"eslint": "5.8.0", "eslint": "5.8.0",
"eslint-config-airbnb-base": "13.1.0", "eslint-config-airbnb-base": "13.1.0",

Loading…
Cancel
Save