diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cec6196cd2..3eb9305fe8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -88,3 +88,5 @@ jobs: fetch-depth: 1 - name: Run ShellCheck uses: ludeeus/action-shellcheck@master + env: + SHELLCHECK_OPTS: -x diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82bfbcd71f..23fa16cac8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,4 +54,7 @@ repos: name: ShellCheck language: system entry: shellcheck - files: \.sh$ + args: ['-x'] + files: > + \.sh$ + utils/sh*$