Update doc section on Git Hooks (#4820)

Added complete required entries for lint-staged to work
This commit is contained in:
Jose G. Alfonso
2019-11-21 00:33:38 -08:00
committed by Natalia Tepluhina
parent e46ac20784
commit f83c44113f
+6
View File
@@ -167,6 +167,12 @@ When installed, `@vue/cli-service` also installs [yorkie](https://github.com/yyx
{
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,vue}": [
"vue-cli-service lint",
"git add"
]
}
}
```