mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 10:10:56 -05:00
fix global config warning
This commit is contained in:
parent
bad32e6f53
commit
dcd81f09d0
3 changed files with 4 additions and 3 deletions
|
@ -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 #
|
||||
|
|
|
@ -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
|
||||
|
||||
###############
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue