Skip to content

Commit fd295d3

Browse files
kaman1claude
andcommitted
fix(ci): exclude SC2034/SC2154 from shellcheck
SC2034 (appears unused) fires on variables defined in sourced library files (defaults.sh) that are consumed by the sourcing scripts. SC2154 (referenced but not assigned) fires on eval-assigned variables used for bash 3.2 nameref compatibility. Both are false positives in our source-based architecture. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1ad044b commit fd295d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
set -e
4646
# Lint every bash script in scripts/bash/ and tests/
4747
find scripts/bash tests -name "*.sh" -type f -print0 \
48-
| xargs -0 shellcheck --severity=warning --exclude=SC1091,SC2086,SC2155
48+
| xargs -0 shellcheck --severity=warning --exclude=SC1091,SC2034,SC2086,SC2154,SC2155

0 commit comments

Comments
 (0)