From f8a19f23e5747bbf901811727d333b6be624fd91 Mon Sep 17 00:00:00 2001 From: Kristof Vandenbroucke Date: Tue, 19 Nov 2024 13:24:01 +0100 Subject: [PATCH] Delete `husky` from the project as it's not really that relevant for the project --- .husky/pre-commit | 4 ---- package.json | 6 ++---- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 1b8ccbf..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npm run build && npm run lint && npm run test:silent diff --git a/package.json b/package.json index 0618b1f..8f0df80 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,7 @@ "eslint:fix": "eslint . --cache --fix", "lint": "npm run eslint", "lint:fix": "npm run eslint -- --fix && npm run prettier -- --write", - "prettier": "prettier --check \"./**/*.{ts,json,md,yml}\"", - "prepare": "husky install" + "prettier": "prettier --check \"./**/*.{ts,json,md,yml}\"" }, "dependencies": { "eslint": "^9.15.0", @@ -41,7 +40,6 @@ "eslint-plugin-import": "^2.31.0", "eslint-plugin-tsdoc": "^0.2.14", "eslint-plugin-unused-imports": "^4.1.4", - "globals": "^15.12.0", - "husky": "^7.0.2" + "globals": "^15.12.0" } }