Skip to content

Commit

Permalink
feat: add vue files to the list of checked staged files
Browse files Browse the repository at this point in the history
  • Loading branch information
thamudi committed Sep 20, 2022
1 parent fa0f410 commit d1432c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate-eslint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# MODIFIED: t.hamoudi
# MAINTAINED: [email protected]

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

if [[ "$STAGED_FILES" = "" ]]; then
exit 0
Expand Down

0 comments on commit d1432c9

Please sign in to comment.