From e934e1cbc8116ab4b46a7f5fb8b1b71970862fff Mon Sep 17 00:00:00 2001 From: 3u13r Date: Tue, 28 Mar 2023 13:38:20 +0200 Subject: [PATCH] exclude node modules from shellcheck (#1514) --- bazel/ci/shellcheck.sh.in | 1 + bazel/ci/shfmt.sh.in | 1 + 2 files changed, 2 insertions(+) diff --git a/bazel/ci/shellcheck.sh.in b/bazel/ci/shellcheck.sh.in index 0537145fc..be20ef0cf 100644 --- a/bazel/ci/shellcheck.sh.in +++ b/bazel/ci/shellcheck.sh.in @@ -19,6 +19,7 @@ scripts=("${MAPFILE[@]}") excludeDirs=( "cli/internal/helm/charts/cilium" "build" + "docs/node_modules" ) echo "The following scripts are excluded and won't be linted with shellcheck:" diff --git a/bazel/ci/shfmt.sh.in b/bazel/ci/shfmt.sh.in index 1b63ed6fe..630b977e2 100644 --- a/bazel/ci/shfmt.sh.in +++ b/bazel/ci/shfmt.sh.in @@ -18,6 +18,7 @@ scripts=("${MAPFILE[@]}") excludeDirs=( "cli/internal/helm/charts/cilium" "build" + "docs/node_modules" ) echo "The following scripts are excluded and won't be formatted with shfmt:"