top | item 42806535 (no title) johnvaluk | 1 year ago Is it possible to override shellcheck? It's a valuable tool that I use all the time, but it reports many false positives. It's not unusual for junior developers to introduce bugs in scripts because they blindly follow the output of shellcheck. discuss order hn newest nerflad|1 year ago A comment before the problematic line can specify options to shellcheck, (e.g)# shellcheck disable=SC2086which remain valid within that block.Of course, disabling the linter should be done with deliberation...
nerflad|1 year ago A comment before the problematic line can specify options to shellcheck, (e.g)# shellcheck disable=SC2086which remain valid within that block.Of course, disabling the linter should be done with deliberation...
nerflad|1 year ago
# shellcheck disable=SC2086
which remain valid within that block.
Of course, disabling the linter should be done with deliberation...