fix global config warning

This commit is contained in:
assignUser 2020-08-19 14:28:41 +00:00
parent bad32e6f53
commit dcd81f09d0
3 changed files with 4 additions and 3 deletions

View file

@ -257,7 +257,8 @@ RUN wget --tries=5 http://mirrors.ctan.org/support/chktex.zip -O chktex.zip -q \
&& cd chktex \
&& ./configure && make \
&& mv chktex /usr/bin \
&& cd .. && rm -rf chktex*
&& cd .. && rm -rf chktex* \
&& touch /usr/local/share/.chktexrc
###########################################
# Load GitHub Env Vars for GitHub Actions #

View file

@ -1560,7 +1560,7 @@ if [ "${VALIDATE_LATEX}" == "true" ]; then
# Lint the LATEX files #
########################
# LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY"
LintCodebase "LATEX" "chktex" "chktex -g -q -l ${LATEX_LINTER_RULES}" ".*\.\(tex\)\$" "${FILE_ARRAY_LATEX[@]}"
LintCodebase "LATEX" "chktex" "chktex -q -l ${LATEX_LINTER_RULES}" ".*\.\(tex\)\$" "${FILE_ARRAY_LATEX[@]}"
fi
###############

View file

@ -625,7 +625,7 @@ function RunTestCases() {
TestCodebase "JAVASCRIPT_STANDARD" "standard" "standard ${JAVASCRIPT_STANDARD_LINTER_RULES}" ".*\.\(js\)\$" "javascript"
TestCodebase "JSON" "jsonlint" "jsonlint" ".*\.\(json\)\$" "json"
TestCodebase "KOTLIN" "ktlint" "ktlint" ".*\.\(kt\|kts\)\$" "kotlin"
TestCodebase "LATEX" "chktex" "chktex -g -q -l ${LATEX_LINTER_RULES}" ".*\.\(tex\)\$" "latex"
TestCodebase "LATEX" "chktex" "chktex -q -l ${LATEX_LINTER_RULES}" ".*\.\(tex\)\$" "latex"
TestCodebase "LUA" "lua" "luacheck" ".*\.\(lua\)\$" "lua"
TestCodebase "MARKDOWN" "markdownlint" "markdownlint -c ${MARKDOWN_LINTER_RULES}" ".*\.\(md\)\$" "markdown"
TestCodebase "PERL" "perl" "perlcritic" ".*\.\(pl\|pm\|t\)\$" "perl"