mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 04:32:16 -05:00
Set FILE_ARRAY_EDITORCONFIG
This commit is contained in:
parent
e1b1c7d223
commit
d210896355
2 changed files with 4 additions and 1 deletions
|
@ -88,6 +88,9 @@ function BuildFileList() {
|
|||
#########
|
||||
debug "FILE_TYPE:[${FILE_TYPE}]"
|
||||
|
||||
# Editorconfig-checker should check every file
|
||||
FILE_ARRAY_EDITORCONFIG+=("${FILE}")
|
||||
|
||||
######################
|
||||
# Get the shell files #
|
||||
######################
|
||||
|
|
|
@ -1349,7 +1349,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}" "${RAW_FILE_ARRAY[@]}"
|
||||
LintCodebase "EDITORCONFIG" "editorconfig-checker" "editorconfig-checker" "^.*$" "${FILTER_REGEX_INCLUDE}" "${FILTER_REGEX_EXCLUDE}" "${FILE_ARRAY_EDITORCONFIG[@]}"
|
||||
fi
|
||||
|
||||
###############
|
||||
|
|
Loading…
Reference in a new issue