diff options
author | 2022-07-13 20:41:40 +0200 | |
---|---|---|
committer | 2022-07-13 19:41:40 +0100 | |
commit | 6df50c4a5f933b4bfa0726184c295e7c2a62ae0d (patch) | |
tree | f30fb835ab8f9fc004c39a7b7d557b0bb6110371 /.husky | |
parent | fix: messenger badge counter and hideInstallMessage (diff) | |
download | ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.tar.gz ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.tar.zst ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.zip |
ci: add lint and prettier to the pr checks (#127)
* ci: add lint and prettier to the pr checks
* bad position of function in messenger ⇒ ci fail
* Revert "bad position of function in messenger ⇒ ci fail"
This reverts commit f8ea1aa674f479093c89f3e7dc6b0ce386003285.
Diffstat (limited to '.husky')
-rwxr-xr-x | .husky/pre-commit | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit index cf9de02..da4248e 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | . "$(dirname "$0")/_/husky.sh" | 2 | . "$(dirname "$0")/_/husky.sh" |
3 | 3 | ||
4 | pnpm i && pnpm lint && pnpm reformat-files && pnpm package | 4 | pnpm i || exit 1 |
5 | pnpm lint:fix --quiet || exit 1 | ||
6 | pnpm reformat-files || exit 1 | ||
7 | pnpm package || exit 1 | ||