mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 21:50:59 -05:00
fix exit code
This commit is contained in:
parent
dcd81f09d0
commit
8224e9e6e5
5 changed files with 7 additions and 12 deletions
11
Dockerfile
11
Dockerfile
|
@ -16,7 +16,7 @@ FROM koalaman/shellcheck:v0.7.1 as shellcheck
|
||||||
FROM wata727/tflint:0.18.0 as tflint
|
FROM wata727/tflint:0.18.0 as tflint
|
||||||
FROM hadolint/hadolint:latest-alpine as dockerfile-lint
|
FROM hadolint/hadolint:latest-alpine as dockerfile-lint
|
||||||
FROM assignuser/lintr-lib:latest as lintr-lib
|
FROM assignuser/lintr-lib:latest as lintr-lib
|
||||||
|
FROM assignuser/chktex-alpine:latest as chktex
|
||||||
##################
|
##################
|
||||||
# Get base image #
|
# Get base image #
|
||||||
##################
|
##################
|
||||||
|
@ -252,13 +252,8 @@ RUN R -e "install.packages(list.dirs('/home/r-library',recursive = FALSE), repos
|
||||||
##################
|
##################
|
||||||
# Install chktex #
|
# Install chktex #
|
||||||
##################
|
##################
|
||||||
RUN wget --tries=5 http://mirrors.ctan.org/support/chktex.zip -O chktex.zip -q \
|
COPY --from=chktex /usr/bin/chktex /usr/bin/
|
||||||
&& unzip -q chktex.zip \
|
RUN cd ~ && touch .chktexrc
|
||||||
&& cd chktex \
|
|
||||||
&& ./configure && make \
|
|
||||||
&& mv chktex /usr/bin \
|
|
||||||
&& cd .. && rm -rf chktex* \
|
|
||||||
&& touch /usr/local/share/.chktexrc
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
# Load GitHub Env Vars for GitHub Actions #
|
# Load GitHub Env Vars for GitHub Actions #
|
||||||
|
|
|
@ -609,9 +609,9 @@ import package.b.*
|
||||||
|
|
||||||
### ChkTex Config file
|
### ChkTex Config file
|
||||||
|
|
||||||
- `.github/linters/chktexrc`
|
- `.github/linters/.chktexrc`
|
||||||
- You can pass multiple rules and overwrite default rules
|
- You can pass multiple rules and overwrite default rules
|
||||||
- File should be located at: `.github/linters/chktexrc`
|
- File should be located at: `.github/linters/.chktexrc`
|
||||||
- See [ChkTex](https://ctan.kako-dev.de/systems/doc/chktex/ChkTeX.pdf) docs for additional
|
- See [ChkTex](https://ctan.kako-dev.de/systems/doc/chktex/ChkTeX.pdf) docs for additional
|
||||||
behaviors
|
behaviors
|
||||||
|
|
||||||
|
|
|
@ -70,8 +70,8 @@ JAVASCRIPT_STANDARD_LINTER_RULES='' # EN
|
||||||
# Default linter path
|
# Default linter path
|
||||||
LINTER_RULES_PATH="${LINTER_RULES_PATH:-.github/linters}" # Linter Path Directory
|
LINTER_RULES_PATH="${LINTER_RULES_PATH:-.github/linters}" # Linter Path Directory
|
||||||
# LaTeX Vars
|
# LaTeX Vars
|
||||||
LATEX_FILE_NAME='chktexrc' # Name of the file
|
LATEX_FILE_NAME='.chktexrc' # Name of the file
|
||||||
LATEX_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${LATEX_FILE_NAME}" # Path to the Latex lint rules
|
LATEX_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${LATEX_FILE_NAME}" # Path to the Latex lint rules # env var to supress warning from chktex
|
||||||
# Lua Vars
|
# Lua Vars
|
||||||
LUA_FILE_NAME='.luacheckrc' # Name of the file
|
LUA_FILE_NAME='.luacheckrc' # Name of the file
|
||||||
LUA_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${LUA_FILE_NAME}" # Path to the Lua lint rules
|
LUA_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${LUA_FILE_NAME}" # Path to the Lua lint rules
|
||||||
|
|
Loading…
Reference in a new issue