From d7fd5d5249b2e8b74602d0206ec4374955558f52 Mon Sep 17 00:00:00 2001 From: Asser Hakala Date: Thu, 11 Jun 2026 10:59:44 +0200 Subject: [PATCH] fix(shell): exclude .build folders from linting Signed-off-by: Asser Hakala --- linters/shell-fmt.sh | 1 + linters/shell.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/linters/shell-fmt.sh b/linters/shell-fmt.sh index 4e89b25..d7e28bc 100755 --- a/linters/shell-fmt.sh +++ b/linters/shell-fmt.sh @@ -19,6 +19,7 @@ find_shell_scripts() { -not -path "./node_modules/*" \ -not -path "./vendor/*" \ -not -path "./tests/libs/*" \ + -not -path "*/.build/*" \ 2>/dev/null } diff --git a/linters/shell.sh b/linters/shell.sh index 6c44001..67e3f31 100755 --- a/linters/shell.sh +++ b/linters/shell.sh @@ -16,6 +16,7 @@ find_shell_scripts() { -not -path "./target/*" \ -not -path "./node_modules/*" \ -not -path "./tests/libs/*" \ + -not -path "*/.build/*" \ 2>/dev/null } @@ -25,6 +26,7 @@ find_bats_files() { -not -path "./target/*" \ -not -path "./node_modules/*" \ -not -path "./tests/libs/*" \ + -not -path "*/.build/*" \ 2>/dev/null }