feat: commitlint
Showing
.commitlintrc.js.js
0 → 100644
... | @@ -20,6 +20,7 @@ | ... | @@ -20,6 +20,7 @@ |
"hooks": { | "hooks": { | ||
"pre-commit": "lint-staged", | "pre-commit": "lint-staged", | ||
"pre-push": "echo 'pushing....'", | "pre-push": "echo 'pushing....'", | ||
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS", | |||
"...": "..." | "...": "..." | ||
} | } | ||
}, | }, | ||
... | @@ -49,6 +50,8 @@ | ... | @@ -49,6 +50,8 @@ |
} | } | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@commitlint/cli": "^9.1.2", | |||
"@commitlint/config-conventional": "^9.1.2", | |||
"@vue/cli-plugin-babel": "^4.5.0", | "@vue/cli-plugin-babel": "^4.5.0", | ||
"@vue/cli-plugin-eslint": "^4.5.4", | "@vue/cli-plugin-eslint": "^4.5.4", | ||
"@vue/cli-plugin-pwa": "^4.5.0", | "@vue/cli-plugin-pwa": "^4.5.0", | ||
... | ... |
Please
register
or
sign in
to comment