diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af219892fda8e..2312dc587f61186 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index f6b780f2ad6a6da..9be2b119e919921 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:json": "prettier -c \"**/*.json(c)?\"", "lint:md": "markdownlint-cli2 \"**/*.md\" && prettier -c \"**/*.md\"", "lint:yml": "prettier -c \"**/*.yml\"", - "prepare": "husky install", + "prepare": "husky || true", "start": "yarn up-to-date-check && env-cmd --silent cross-env CONTENT_ROOT=files REACT_APP_DISABLE_AUTH=true BUILD_OUT_ROOT=build yari-server", "up-to-date-check": "node scripts/up-to-date-check.js", "jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",