From ed600f03d6f7edfca183778134477ecbcfcb1ec5 Mon Sep 17 00:00:00 2001 From: Delemangi Date: Sat, 3 Feb 2024 20:30:34 +0100 Subject: [PATCH] Migrate Husky --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 75fac8e..3867a0f 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npm run lint diff --git a/package.json b/package.json index 4927c7f..f4b7616 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "build": "rimraf dist && tsc", "format": "eslint . --ext .ts --fix", "lint": "eslint . --ext .ts --cache", - "prepare": "husky install", + "prepare": "husky", "start": "node dist/main.js" }, "type": "module",