From 839d98a2ff7d04e9de842d900b8299f55f39d031 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Sat, 19 Dec 2020 20:36:10 -0500 Subject: [PATCH] chore: update husky to v5 (okay actually maybe for real this time) --- .husky/pre-commit.sh | 1 + package.json | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 .husky/pre-commit.sh diff --git a/.husky/pre-commit.sh b/.husky/pre-commit.sh new file mode 100644 index 0000000..3723623 --- /dev/null +++ b/.husky/pre-commit.sh @@ -0,0 +1 @@ +yarn lint-staged diff --git a/package.json b/package.json index 075a2a5..97c8ed3 100644 --- a/package.json +++ b/package.json @@ -115,11 +115,6 @@ "typescript": "^4.1.3", "webpack": "^4.44.2" }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, "lint-staged": { "*.{ts,tsx,js,jsx}": [ "tsc -p tsconfig.json --noEmit", @@ -137,4 +132,4 @@ "prettier --write" ] } -} +} \ No newline at end of file