aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-06-18 02:25:05 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-06-18 14:57:42 +0400
commit618ed04d0308e2c2a23b0a9d991ce3778ee148ba (patch)
tree9f52d13c10cfdb06f84749fc6452d56295db9cd8
parentBump ESLint To 8.18.0 (diff)
Bump Husky To 8.0.1
Bump husky, and regenerate config after breaking changes. Signed-off-by: Hassan Abouelela <[email protected]>
-rw-r--r--.config/husky/.gitignore1
-rw-r--r--[-rwxr-xr-x].config/husky/pre-commit6
-rw-r--r--package.json2
-rw-r--r--yarn.lock8
4 files changed, 8 insertions, 9 deletions
diff --git a/.config/husky/.gitignore b/.config/husky/.gitignore
deleted file mode 100644
index 31354ec..0000000
--- a/.config/husky/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-_
diff --git a/.config/husky/pre-commit b/.config/husky/pre-commit
index 101f7b9..6cdaab7 100755..100644
--- a/.config/husky/pre-commit
+++ b/.config/husky/pre-commit
@@ -1,4 +1,4 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
+#!/usr/bin/env sh
+. "$(dirname -- "$0")/_/husky.sh"
-yarn lint \ No newline at end of file
+yarn lint
diff --git a/package.json b/package.json
index ca293b6..64abf50 100644
--- a/package.json
+++ b/package.json
@@ -76,7 +76,7 @@
"dotenv": "16.0.1",
"eslint": "8.18.0",
"eslint-plugin-react": "7.30.0",
- "husky": "6.0.0",
+ "husky": "8.0.1",
"jest": "26.6.3",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-resolve": "26.6.2",
diff --git a/yarn.lock b/yarn.lock
index d91137f..f9dca03 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5623,10 +5623,10 @@ human-signals@^1.1.1:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
- version "6.0.0"
- resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
- integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
+ version "8.0.1"
+ resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9"
+ integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==
version "0.4.24"