Skip to content

Commit

Permalink
Update doc section on Git Hooks (#4820)
Browse files Browse the repository at this point in the history
Added complete required entries for lint-staged to work
  • Loading branch information
Codermar authored and NataliaTepluhina committed Nov 21, 2019
1 parent e46ac20 commit f83c441
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/guide/cli-service.md
Expand Up @@ -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"
]
}
}
```
Expand Down

0 comments on commit f83c441

Please sign in to comment.