lint: remove the SC1091 disables from the shell scripts #762
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#766 epic: shellcheck passes on every shell script, with no inline disables
sixfold-space/madtea
Reference
sixfold-space/madtea#762
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
12 shell files disable SC1091 inline, because shellcheck does not follow the file that they source:
scripts/release.sh:120and 11 hook tests inhooks/tests/. The usage example athooks/tests/lib-hook-harness.sh:84tells each new hook test to copy the disable.CONTRIBUTING.md:319says that linters flag real issues and that I fix the code.How
Add a
.shellcheckrcthat lets shellcheck follow sourced files (external-sources=trueandsource-path=SCRIPTDIR). Then remove the 12 disables and update the usage example.Acceptance