Skip to content

Commit a546ee7

Browse files
authored
fix: xss (#831)
1 parent 3b0650a commit a546ee7

File tree

5 files changed

+4359
-2566
lines changed

5 files changed

+4359
-2566
lines changed

.husky/pre-commit

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
3+
if [ "$SKIP_SIMPLE_GIT_HOOKS" = "1" ]; then
4+
echo "[INFO] SKIP_SIMPLE_GIT_HOOKS is set to 1, skipping hook."
5+
exit 0
6+
fi
7+
8+
if [ -f "$SIMPLE_GIT_HOOKS_RC" ]; then
9+
. "$SIMPLE_GIT_HOOKS_RC"
10+
fi
11+
12+
npx lint-staged

0 commit comments

Comments
 (0)