From 6ed48807134a086b7ff6ec2f708d967685a459dc Mon Sep 17 00:00:00 2001 From: Bartek Szopka Date: Thu, 19 Mar 2020 15:10:03 +0100 Subject: [PATCH] Prevent pretty-quick from commiting changes in husky hook --- package.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 9d0a170be..2915d94d6 100644 --- a/package.json +++ b/package.json @@ -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", @@ -61,7 +57,7 @@ }, "husky": { "hooks": { - "pre-commit": "pretty-quick --staged" + "pre-commit": "pretty-quick --check --staged" } } }