From 12543b369b6bf6acd9f0877c9a1523b370ea8f7b Mon Sep 17 00:00:00 2001 From: Michael Shimokura Date: Thu, 24 Sep 2020 09:02:24 -0400 Subject: [PATCH] Lint all files with editorconfig-checker Since .editorconfig configuration files _could_ apply to any file, we should pass in the RAW_FILE_ARRAY to it. This ensures that files of all types are linted by editorconfig-checker. --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index b3c455d4..065759c7 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -1542,7 +1542,7 @@ if [ "${VALIDATE_EDITORCONFIG}" == "true" ]; then # Lint the files with editorconfig # #################################### # LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILTER_REGEX_INCLUDE" "FILTER_REGEX_EXCLUDE" "FILE_ARRAY" - LintCodebase "EDITORCONFIG" "editorconfig-checker" "editorconfig-checker" "^.*$" "${FILTER_REGEX_INCLUDE}" "${FILTER_REGEX_EXCLUDE}" "${FILE_ARRAY_ENV[@]}" + LintCodebase "EDITORCONFIG" "editorconfig-checker" "editorconfig-checker" "^.*$" "${FILTER_REGEX_INCLUDE}" "${FILTER_REGEX_EXCLUDE}" "${RAW_FILE_ARRAY[@]}" fi ###############