diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af21989..2312dc587 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/.husky/pre-push b/.husky/pre-push index 607884f17..7ee2ddcb9 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,5 +1,2 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged npm run ci-check diff --git a/package.json b/package.json index 76cc4984c..c883c4bb7 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx", "tsc": "tsc -p ./ --noEmit", "test": "jest --no-cache --passWithNoTests", - "prepare": "husky install", + "prepare": "husky", "locale:extract_pot": "i18next 'src/**/*.{ts,tsx}' && node scripts/locale_extract_pot.js", "locale:update_translations": "node scripts/locale_update_translations.js", "ci-check": "npm run format:check && npm run lint && npm run tsc && npm run test",