mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 02:23:39 -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 hadolint/hadolint:latest-alpine as dockerfile-lint
|
||||
FROM assignuser/lintr-lib:latest as lintr-lib
|
||||
|
||||
FROM assignuser/chktex-alpine:latest as chktex
|
||||
##################
|
||||
# Get base image #
|
||||
##################
|
||||
|
@ -252,13 +252,8 @@ RUN R -e "install.packages(list.dirs('/home/r-library',recursive = FALSE), repos
|
|||
##################
|
||||
# Install chktex #
|
||||
##################
|
||||
RUN wget --tries=5 http://mirrors.ctan.org/support/chktex.zip -O chktex.zip -q \
|
||||
&& unzip -q chktex.zip \
|
||||
&& cd chktex \
|
||||
&& ./configure && make \
|
||||
&& mv chktex /usr/bin \
|
||||
&& cd .. && rm -rf chktex* \
|
||||
&& touch /usr/local/share/.chktexrc
|
||||
COPY --from=chktex /usr/bin/chktex /usr/bin/
|
||||
RUN cd ~ && touch .chktexrc
|
||||
|
||||
###########################################
|
||||
# Load GitHub Env Vars for GitHub Actions #
|
||||
|
|
|
@ -609,9 +609,9 @@ import package.b.*
|
|||
|
||||
### ChkTex Config file
|
||||
|
||||
- `.github/linters/chktexrc`
|
||||
- `.github/linters/.chktexrc`
|
||||
- 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
|
||||
behaviors
|
||||
|
||||
|
|
|
@ -70,8 +70,8 @@ JAVASCRIPT_STANDARD_LINTER_RULES='' # EN
|
|||
# Default linter path
|
||||
LINTER_RULES_PATH="${LINTER_RULES_PATH:-.github/linters}" # Linter Path Directory
|
||||
# LaTeX Vars
|
||||
LATEX_FILE_NAME='chktexrc' # Name of the file
|
||||
LATEX_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${LATEX_FILE_NAME}" # Path to the Latex lint rules
|
||||
LATEX_FILE_NAME='.chktexrc' # Name of the file
|
||||
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_FILE_NAME='.luacheckrc' # Name of the file
|
||||
LUA_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${LUA_FILE_NAME}" # Path to the Lua lint rules
|
||||
|
|
Loading…
Reference in a new issue