From fd47f110c8c1970d5bfabab1453700343cf31e15 Mon Sep 17 00:00:00 2001 From: mickey Date: Wed, 30 Nov 2022 00:02:40 +0100 Subject: [PATCH] preparing for husky pre-commit with lint-staged --- .husky/pre-commit | 4 ++-- package.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d4a43dd..d0612ad 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" npm run pre-commit diff --git a/package.json b/package.json index d48d6f4..4b33f44 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,6 @@ "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.11", - "husky": "^8.0.0", "lint-staged": "^13.0.4", "prettier": "^2.8.0", "webpack-subresource-integrity": "^5.1.0"