Add --staged parameter to pretty-quick
Makes it so you don't have to re-stage manually after pre-commit hook is run
This commit is contained in:
parent
05d1535823
commit
e1c34a3689
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
"e2e": "cypress run",
|
||||
"e2e:open": "cypress open",
|
||||
"dev:e2e": "server-test dev :3000 e2e:open",
|
||||
"pretty-quick": "pretty-quick --pattern \"**/*.*(html|js|json|vue)\"",
|
||||
"pretty-quick": "pretty-quick --staged --pattern \"**/*.*(html|js|json|vue)\"",
|
||||
"test": "start-server-and-test start http-get://localhost:3000 e2e"
|
||||
},
|
||||
"husky": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue