diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-19 11:11:08 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-19 12:03:29 +0530 |
commit | dceaf5938cc9d148d1737fff3ddb1c6ab762234c (patch) | |
tree | 2d68e6e67da811889b44b80e808aa99c1cc889f1 /.husky/pre-commit | |
parent | Fixed #56: Added favicon for all html pages served by the server. (diff) | |
download | ferdium-server-dceaf5938cc9d148d1737fff3ddb1c6ab762234c.tar.gz ferdium-server-dceaf5938cc9d148d1737fff3ddb1c6ab762234c.tar.zst ferdium-server-dceaf5938cc9d148d1737fff3ddb1c6ab762234c.zip |
Added husky pre-commit hook to run linter
Diffstat (limited to '.husky/pre-commit')
-rwxr-xr-x | .husky/pre-commit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..20d0d06 --- /dev/null +++ b/.husky/pre-commit | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | . "$(dirname "$0")/_/husky.sh" | ||
3 | |||
4 | npm run lint | ||