From 0bfa897d875ca6df6e06e88613f266fedf835761 Mon Sep 17 00:00:00 2001 From: ohakutsu Date: Thu, 15 Aug 2024 18:09:23 +0900 Subject: [PATCH] Fix husky setting --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) mode change 100755 => 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 index 72c88ce..1f1b426 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - yarn run lint-staged diff --git a/package.json b/package.json index 8f6ce29..91a2ef8 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "lint:eslint:fix": "eslint --fix", "lint:eslint": "eslint .", "lint:typecheck": "tsc --noEmit", - "prepare": "husky install", + "prepare": "husky", "qiita": "node dist/main.js", "test": "jest" },