From 708fdd0116abf308fa3ad453032905642a41edbf Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Thu, 21 Oct 2021 11:41:59 -0500 Subject: [PATCH] meta: remove husky --- .husky/.gitignore | 1 - .husky/post-checkout | 3 --- .husky/post-commit | 3 --- .husky/post-merge | 3 --- .husky/pre-commit | 8 -------- .husky/pre-push | 3 --- package.json | 4 ---- 7 files changed, 25 deletions(-) delete mode 100644 .husky/.gitignore delete mode 100755 .husky/post-checkout delete mode 100755 .husky/post-commit delete mode 100755 .husky/post-merge delete mode 100755 .husky/pre-commit delete mode 100755 .husky/pre-push diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec13..000000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/post-checkout b/.husky/post-checkout deleted file mode 100755 index cab40f264..000000000 --- a/.husky/post-checkout +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.\n"; exit 2; } -git lfs post-checkout "$@" diff --git a/.husky/post-commit b/.husky/post-commit deleted file mode 100755 index 9443f4161..000000000 --- a/.husky/post-commit +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.\n"; exit 2; } -git lfs post-commit "$@" diff --git a/.husky/post-merge b/.husky/post-merge deleted file mode 100755 index 828b70891..000000000 --- a/.husky/post-merge +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.\n"; exit 2; } -git lfs post-merge "$@" diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index 56d414242..000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -command -v npx > /dev/null || { - exit 0 -} - -npx lint-staged diff --git a/.husky/pre-push b/.husky/pre-push deleted file mode 100755 index 81a9cc639..000000000 --- a/.husky/pre-push +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n"; exit 2; } -git lfs pre-push "$@" diff --git a/package.json b/package.json index 8fdd84902..2644942f0 100644 --- a/package.json +++ b/package.json @@ -12,11 +12,7 @@ "watch-libs": "lerna run watch --no-private --parallel", "build-libs": "lerna run build --no-private", "test": "lerna run test", - "prepare": "husky install .husky", "bootstrap": "lerna bootstrap", "build:prod": "lerna run build:prod" - }, - "lint-staged": { - "*.{js,ts,tsx}": "eslint --cache --fix --quiet" } }