diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..a5a29d9 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +pnpm lint-staged diff --git a/package.json b/package.json index 6c9bda0..5b86663 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,6 @@ "prettier --write" ] }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, "author": "Elhebert", "license": "MIT", "dependencies": {