Skip to content

Commit

Permalink
Prevent pretty-quick from commiting changes in husky hook
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Mar 20, 2020
1 parent 2253474 commit 0d6a235
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions package.json
Expand Up @@ -42,10 +42,6 @@
"/scss",
"!/scss/docs"
],
"devDependenciesComments": {
"vanilla-framework": "vanilla-framework is included in devDependencies for use in styling the docs site",
"pretty-quick": "keep pretty-quick on v1, pretty-quick@2 requires version of node that we can't install on jenkins"
},
"devDependencies": {
"@percy/script": "1.0.3",
"autoprefixer": "9.7.4",
Expand All @@ -61,7 +57,7 @@
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
"pre-commit": "pretty-quick --check --staged"
}
}
}

0 comments on commit 0d6a235

Please sign in to comment.