From 92ee2506843265e9f8668c54d80a6c1080d6bef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janis=20Voigtl=C3=A4nder?= Date: Sun, 11 Dec 2022 14:48:24 +0100 Subject: [PATCH] Textlint should check every file --- lib/functions/buildFileList.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/functions/buildFileList.sh b/lib/functions/buildFileList.sh index 9e2568a1..8e08998a 100755 --- a/lib/functions/buildFileList.sh +++ b/lib/functions/buildFileList.sh @@ -312,6 +312,9 @@ function BuildFileList() { # Editorconfig-checker should check every file FILE_ARRAY_EDITORCONFIG+=("${FILE}") + # Textlint should check every file + FILE_ARRAY_NATURAL_LANGUAGE+=("${FILE}") + if [ "${VALIDATE_JSCPD_ALL_CODEBASE}" == "true" ]; then debug "Not adding ${FILE} to FILE_ARRAY_JSCPD because we're going to lint the whole codebase anyway." else @@ -577,7 +580,6 @@ function BuildFileList() { # Append the file to the array # ################################ FILE_ARRAY_MARKDOWN+=("${FILE}") - FILE_ARRAY_NATURAL_LANGUAGE+=("${FILE}") ###################### # Get the PHP files #