We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4fa162 commit dda6a85Copy full SHA for dda6a85
prompts/eslint/scripts/lint-standardjs.sh
@@ -27,8 +27,13 @@ echo "Running StandardJS..."
27
28
# If typescript is false, run standard
29
if [ $TYPESCRIPT == 'false' ]; then
30
+ $LINT_ARGS="$FILES"
31
+ # If FIX
32
+ if [ $FIX == "true" ]; then
33
+ LINT_ARGS="--fix $FILES"
34
+ fi
35
# Pass files array as args to standard
- standard $FILES
36
+ standard $LINT_ARGS
37
exit $?
38
fi
39
@@ -70,7 +75,7 @@ for TS_ROOT in $TS_ROOTS; do
70
75
continue
71
76
72
77
# If FIX
73
- if [ $FIX == True ]; then
78
74
79
LINT_ARGS="--fix $TS_FILES_IN_ROOT"
80
else
81
LINT_ARGS="$TS_FILES_IN_ROOT"
0 commit comments