chore(deps): update dependency koalaman/shellcheck to v0.9.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
koalaman/shellcheck | minor |
0.8.0 -> 0.9.0
|
Release Notes
koalaman/shellcheck
v0.9.0
Added
- SC2316: Warn about 'local readonly foo' and similar (thanks, patrickxia!)
- SC2317: Warn about unreachable commands
- SC2318: Warn about backreferences in 'declare x=1 y=$x'
- SC2319/SC2320: Warn when $? refers to echo/printf/[ ]/[[ ]]/test
- SC2321: Suggest removing ((..)) in array\[((idx))]=val
- SC2322: Suggest collapsing double parentheses in arithmetic contexts
- SC2323: Suggest removing wrapping parentheses in a[(x+1)]=val
Fixed
- SC2086: Now uses DFA to make more accurate predictions about values
- SC2086: No longer warns about values declared as integer with declare -i
Changed
- ShellCheck now has a Data Flow Analysis engine to make smarter decisions 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).
- Values in directives/shellcheckrc can now be quoted with '' or ""
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.