From 3704700a49723d1b1e8a33f0c6cf6fa8428666d1 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Thu, 7 Nov 2024 13:24:30 +0530 Subject: [PATCH] chore: remove husky (#9967) Fixes: FRMW-2765, FRMW-2760 Since no one is using it for a very long time we can get rid of it Closes: #9867 --- .husky/pre-commit | 4 ---- package.json | 3 --- yarn.lock | 10 ---------- 3 files changed, 17 deletions(-) delete mode 100755 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index 80160b183b..0000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -node_modules/.bin/lint-staged || node scripts/on-lint-error.js diff --git a/package.json b/package.json index 8abd2ed167..0575a952b7 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "express": "^4.17.1", "get-port": "^5.1.1", "glob": "^11.0.0", - "husky": "^7.0.4", "import-from": "^3.0.0", "jest": "^29.7.0", "lint-staged": "^11.2.6", @@ -54,8 +53,6 @@ "*.{md,yaml,yml}": "prettier --write" }, "scripts": { - "hooks:install": "husky install", - "hooks:uninstall": "husky uninstall", "build": "turbo run build --concurrency=50% --no-daemon", "lint": "eslint --ignore-path .eslintignore --ext .js,.ts,.tsx .", "lint:path": "eslint --ignore-path .eslintignore --ext .js,.ts,.tsx", diff --git a/yarn.lock b/yarn.lock index 3f8106ab13..0cfae34a85 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21694,15 +21694,6 @@ __metadata: languageName: node linkType: hard -"husky@npm:^7.0.4": - version: 7.0.4 - resolution: "husky@npm:7.0.4" - bin: - husky: lib/bin.js - checksum: aacb2b8fbfed0ec161f94e9b08d422c51fec073def4e165e57da42f47c10f520a5f0a88b42efc667784e314a1af83cf1994b582cd6f4b0333739921a601c6187 - languageName: node - linkType: hard - "hyperlinker@npm:^1.0.0": version: 1.0.0 resolution: "hyperlinker@npm:1.0.0" @@ -29440,7 +29431,6 @@ __metadata: get-port: ^5.1.1 glob: ^11.0.0 global: ^4.4.0 - husky: ^7.0.4 import-from: ^3.0.0 jest: ^29.7.0 lint-staged: ^11.2.6