mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -05:00
adding path
This commit is contained in:
parent
c505a238d4
commit
191324c06b
2 changed files with 3 additions and 2 deletions
1
.github/linters/.eslintrc.yml
vendored
1
.github/linters/.eslintrc.yml
vendored
|
@ -12,6 +12,7 @@
|
||||||
env:
|
env:
|
||||||
browser: true
|
browser: true
|
||||||
es6: true
|
es6: true
|
||||||
|
jest: true
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Global Vars #
|
# Global Vars #
|
||||||
|
|
|
@ -1516,7 +1516,7 @@ Eslint()
|
||||||
################################
|
################################
|
||||||
# Lint the file with the rules #
|
# Lint the file with the rules #
|
||||||
################################
|
################################
|
||||||
LINT_CMD=$(eslint -c "$JAVASCRIPT_LINTER_RULES" "$FILE" 2>&1)
|
LINT_CMD=$(cd "$GITHUB_WORKSPACE" || exit; eslint -c "$JAVASCRIPT_LINTER_RULES" "$FILE" 2>&1)
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Load the error code #
|
# Load the error code #
|
||||||
|
@ -1615,7 +1615,7 @@ StandardLint()
|
||||||
################################
|
################################
|
||||||
echo " - Utilizing Env:[$ENV_STRING]"
|
echo " - Utilizing Env:[$ENV_STRING]"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
STANDARD_LINT_CMD=$(standard $ENV_STRING "$FILE" 2>&1)
|
STANDARD_LINT_CMD=$(cd "$GITHUB_WORKSPACE" || exit; standard $ENV_STRING "$FILE" 2>&1)
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Load the error code #
|
# Load the error code #
|
||||||
|
|
Loading…
Reference in a new issue