diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cec6196c..3eb9305f 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 82bfbcd7..23fa16ca 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*$