aboutsummaryrefslogtreecommitdiffstats
path: root/.husky
diff options
context:
space:
mode:
authorLibravatar Nathanaël Houn <contact@nathanaelhoun.fr>2022-07-13 20:41:40 +0200
committerLibravatar GitHub <noreply@github.com>2022-07-13 19:41:40 +0100
commit6df50c4a5f933b4bfa0726184c295e7c2a62ae0d (patch)
treef30fb835ab8f9fc004c39a7b7d557b0bb6110371 /.husky
parentfix: messenger badge counter and hideInstallMessage (diff)
downloadferdium-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-commit5
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
4pnpm i && pnpm lint && pnpm reformat-files && pnpm package 4pnpm i || exit 1
5pnpm lint:fix --quiet || exit 1
6pnpm reformat-files || exit 1
7pnpm package || exit 1