diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-12-11 20:50:33 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-12-11 20:50:33 +0530 |
commit | 740ac276a03850ed868cec38bddf5ff6404e4159 (patch) | |
tree | 911887061eb8f8a8d4939c3721d75dd2f1e1ae0f /.husky | |
parent | Fix the necessary env vars for building outside of docker (diff) | |
download | ferdium-server-740ac276a03850ed868cec38bddf5ff6404e4159.tar.gz ferdium-server-740ac276a03850ed868cec38bddf5ff6404e4159.tar.zst ferdium-server-740ac276a03850ed868cec38bddf5ff6404e4159.zip |
Backported some configurations from the adonis rewrite
Diffstat (limited to '.husky')
-rwxr-xr-x | .husky/pre-commit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit index 1a92cb3..5bdf80f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit | |||
@@ -5,5 +5,6 @@ FILE_NAME="$(dirname "$0")/_/husky.sh" | |||
5 | # Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing npm modules) | 5 | # Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing npm modules) |
6 | if [ -f $FILE_NAME ]; then | 6 | if [ -f $FILE_NAME ]; then |
7 | . $FILE_NAME | 7 | . $FILE_NAME |
8 | npm run lint | 8 | pnpm prepare-code |
9 | pnpm lint | ||
9 | fi | 10 | fi |