From a80b51130c24bc7b51e8e5750ee24bb434a5aff4 Mon Sep 17 00:00:00 2001 From: Peter Skelin Date: Mon, 24 Jun 2019 13:13:22 +0300 Subject: [PATCH] Eslint pre-push hook (#582) --- .githooks/pre-push | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .githooks/pre-push diff --git a/.githooks/pre-push b/.githooks/pre-push new file mode 100755 index 000000000000..f6f4ceca9578 --- /dev/null +++ b/.githooks/pre-push @@ -0,0 +1,7 @@ +#!/bin/sh +# +# To enable this hook, run this command from the root folder of the project +# $ git config core.hooksPath .githooks + +# git runs hooks in the root dir +yarn lint \ No newline at end of file