Merge pull request #617 from dmitryyankowski/fix/pretty-quick-stage
Add --staged parameter to pretty-quick pre-commit
This commit is contained in:
commit
ba798287f9
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