From 153a6499ef2c8137cb32d1521185dc0707b7b204 Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 4 Sep 2023 16:37:46 +1000 Subject: [PATCH] chore: disable pre commit lint-staged hook for now buildLintCommand is broken if you have a lint error in a file the commit fails silently --- .husky/pre-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc60..9d4f45ace 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx lint-staged +# Disabling this hook for now because the BuildLintCommand has issues. If you have an error in a file that eslint catches the commit fails silently instead of explaining the error (Will 04/09/2023) +# npx lint-staged