From 11d153f6b51995dca2f12d5cf69c9967d607e610 Mon Sep 17 00:00:00 2001 From: Dmitry Kisler Date: Mon, 16 Oct 2023 16:33:32 +0200 Subject: [PATCH] chore: add lint step Signed-off-by: Dmitry Kisler --- .husky/pre-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 85bead7..4c69bd2 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,6 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm run test || npm install && npm run test +npm run lint || npm install && npm run lint +npm run test npm run build && git add dist/