diff --git a/.husky/commit-msg b/.husky/commit-msg index abc55eef..e232fe61 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,6 +1,3 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - if [ "$CI" = "true" ] then # disable commitlint for CI environments diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e8..37236231 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint-staged diff --git a/package.json b/package.json index 762dbfa3..8e79166f 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "semantic-release": "^24.2.0" }, "scripts": { - "prepare": "husky install", + "prepare": "husky", "commit": "git-cz", "lint": "eslint", "lint:fix": "yarn lint --fix"