chore(deps): update dependency shellcheck to v0.10.0 #271
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
koalaman/shellcheck (shellcheck)
v0.10.0
Compare Source
Added
extended-analysis=true
directive to enable/disable dataflow analysis(with a corresponding --extended-analysis flag).
!
s in dash/sh.foo | ! bar
in bash/dash/sh.test _ -op/-nt/-ef _
like in [ ]test _ == _
like in [ ]test _ =~ _
like in [ ]test -v _
like in [ ]test -a _
like in [ ]Fixed
v0.9.0
Compare Source
Added
Fixed
Changed
based on control flow rather than just syntax. Existing checks will
gradually start using it, which may cause them to trigger differently
(but more accurately).
v0.8.0
Compare Source
Added
disable=all
now conveniently disables all warningsexternal-sources=true
directive can be added to .shellcheckrc to makeshellcheck behave as if
-x
was specified.check-extra-masked-returns
for pointing out commands withsuppressed exit codes (SC2312).
require-double-brackets
for recommending [[ ]] (SC2292)./.)'"
eval
with arraysread
with unquoted, array indexed variableFixed
typeset
and local read-onlydeclare
statementsChanged
[ $? = 0 ]
._
can now be used to suppress warnings about unused variablesRemoved
v0.7.2
Compare Source
Added
disable
directives can now be a range, e.g.disable=SC3000-SC4000
[ x$var = xval ]
Fixed
is still purely cosmetic and does not allow ShellCheck to continue.
#!/usr/bin/env -S shell
is now handled correctlyChanged
$x/
or$(x)/
is now treated as./
when locating files=
, e.g.${var}=42
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.