Skip to content

Commit d1432c9

Browse files
committed
feat: add vue files to the list of checked staged files
1 parent fa0f410 commit d1432c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate-eslint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# MODIFIED: t.hamoudi
55
# MAINTAINED: [email protected]
66

7-
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep -E "(.js$|.jsx$|.ts$|.tsx$)")
7+
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep -E "(.js$|.jsx$|.ts$|.tsx$|.vue$)")
88

99
if [[ "$STAGED_FILES" = "" ]]; then
1010
exit 0

0 commit comments

Comments
 (0)