mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 16:21:00 -05:00
fixed it up
This commit is contained in:
parent
9321959896
commit
44d8e01330
4 changed files with 17 additions and 6 deletions
1
.github/linters/.eslintrc.yml
vendored
1
.github/linters/.eslintrc.yml
vendored
|
@ -26,7 +26,6 @@ globals:
|
|||
parser: '@typescript-eslint/parser'
|
||||
parserOptions:
|
||||
ecmaVersion: 2018
|
||||
sourceType: module
|
||||
|
||||
###########
|
||||
# Plugins #
|
||||
|
|
19
Dockerfile
19
Dockerfile
|
@ -31,17 +31,29 @@ RUN apk add --no-cache \
|
|||
#####################
|
||||
# Run Pip3 Installs #
|
||||
#####################
|
||||
RUN pip3 install --upgrade --no-cache-dir \
|
||||
RUN pip3 --no-cache-dir install --upgrade --no-cache-dir \
|
||||
yamllint pylint
|
||||
|
||||
####################
|
||||
# Run NPM Installs #
|
||||
####################
|
||||
RUN npm -g install \
|
||||
RUN npm -g --no-cache install \
|
||||
markdownlint-cli \
|
||||
jsonlint prettyjson \
|
||||
coffeelint \
|
||||
typescript eslint standard \
|
||||
typescript eslint \
|
||||
standard \
|
||||
babel-eslint \
|
||||
@typescript-eslint/eslint-plugin \
|
||||
@typescript-eslint/parser \
|
||||
&& npm --no-cache install \
|
||||
markdownlint-cli \
|
||||
jsonlint prettyjson \
|
||||
coffeelint \
|
||||
typescript eslint \
|
||||
standard \
|
||||
babel-eslint \
|
||||
@typescript-eslint/eslint-plugin \
|
||||
@typescript-eslint/parser
|
||||
|
||||
####################
|
||||
|
@ -86,6 +98,7 @@ COPY TEMPLATES /action/lib/.automation
|
|||
######################
|
||||
# Set the entrypoint #
|
||||
######################
|
||||
#RUN find / -name node_modules
|
||||
ENTRYPOINT ["/action/lib/linter.sh"]
|
||||
|
||||
#CMD tail -f /dev/null
|
||||
|
|
|
@ -26,7 +26,6 @@ globals:
|
|||
parser: '@typescript-eslint/parser'
|
||||
parserOptions:
|
||||
ecmaVersion: 2018
|
||||
sourceType: module
|
||||
|
||||
###########
|
||||
# Plugins #
|
||||
|
|
|
@ -1493,7 +1493,7 @@ Eslint()
|
|||
################################
|
||||
# Lint the file with the rules #
|
||||
################################
|
||||
LINT_CMD=$(cd "$GITHUB_WORKSPACE" || exit; eslint -c "$JAVASCRIPT_LINTER_RULES" "$FILE" 2>&1)
|
||||
LINT_CMD=$(eslint -c "$JAVASCRIPT_LINTER_RULES" "$FILE" 2>&1)
|
||||
|
||||
#######################
|
||||
# Load the error code #
|
||||
|
|
Loading…
Reference in a new issue