From 425ac421a94704c8db384ff7d5e32685cd6d4fa1 Mon Sep 17 00:00:00 2001 From: Benson Cho <100653148+bcho892@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:24:25 +1300 Subject: [PATCH] Pre push instead of pre commit (#184) * dont run checks on EVERY commit, do it on pushes * test * run linters instead of lint-staged * fix command * fix induced lint error --- .husky/pre-commit | 1 - .husky/pre-push | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 .husky/pre-commit create mode 100644 .husky/pre-push diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 1a1f1f060..000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -yarn lint-staged \ No newline at end of file diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100644 index 000000000..1fcee5fba --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1,2 @@ +yarn lint-all +yarn prettier:ci \ No newline at end of file