diff --git a/package.json b/package.json index ab6a3b5718..9fc65876cc 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,8 @@ "build": "gatsby build", "build-ci": "gatsby build --prefix-paths", "start": "gatsby develop", - "format": "prettier --write '**/*.{ts,tsx,js}'", - "format-check": "prettier --check '**/*.{ts,tsx,js}'", + "format": "prettier --write \"**/*.{ts,tsx,js}\"", + "format-check": "prettier --check \"**/*.{ts,tsx,js}\"", "jest": "jest", "update-snapshot": "jest --updateSnapshot", "test": "yarn format-check && yarn tslint && yarn jest", @@ -102,7 +102,7 @@ }, "husky": { "hooks": { - "commit-msg": "commitlint --edit $HUSKY_GIT_PARAMS", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-push": "yarn format-check && yarn tslint" } }