Skip to content

Commit ba0a406

Browse files
committed
chore: add worker and mobile lint to pre-commit hook
1 parent 52bc15a commit ba0a406

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

mise.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,14 @@ if echo "$changed" | grep -q "^apps/web/"; then
3737
echo "[pre-commit] apps/web detected, running lint..."
3838
mise //apps/web:lint || exit 1
3939
fi
40+
41+
if echo "$changed" | grep -q "^apps/worker/"; then
42+
echo "[pre-commit] apps/worker detected, running lint..."
43+
mise //apps/worker:lint || exit 1
44+
fi
45+
46+
if echo "$changed" | grep -q "^apps/mobile/"; then
47+
echo "[pre-commit] apps/mobile detected, running lint..."
48+
mise //apps/mobile:lint || exit 1
49+
fi
4050
'''

0 commit comments

Comments
 (0)