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.
This commit is contained in:
Michael Shimokura 2020-09-24 09:02:24 -04:00
parent dc55a4b75d
commit 12543b369b

View file

@ -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
###############