diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index f46f527e..12bc96b3 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -611,7 +611,7 @@ import package.b.* - `.github/linters/chktexrc` - You can pass multiple rules and overwrite default rules -- File should be located at: `.github/linters/.luacheckrc` +- File should be located at: `.github/linters/chktexrc` - See [ChkTex](https://ctan.kako-dev.de/systems/doc/chktex/ChkTeX.pdf) docs for additional behaviors diff --git a/lib/linter.sh b/lib/linter.sh index e172ee8a..77e1173a 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -71,7 +71,7 @@ JAVASCRIPT_STANDARD_LINTER_RULES='' # EN 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 Lua lint rules +LATEX_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${LATEX_FILE_NAME}" # Path to the Latex lint rules # 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