From 9d6456a20ff5e82d5520cd9d730aa00bb135efa5 Mon Sep 17 00:00:00 2001 From: Guy Ben-Aharon Date: Sun, 25 Aug 2024 18:45:43 +0300 Subject: [PATCH] husky instructions --- .husky/pre-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index a845b850..154b5465 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ -npm run lint \ No newline at end of file +#!/bin/sh +npm run lint || { echo "lint failed, please run \"npm run lint:fix\" to fix the errors." ; exit 1; }