koalaman/shellcheck (koalaman/shellcheck)
### [`v0.10.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v0100---2024-03-07)
[Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.9.0...v0.10.0)
##### Added
- Precompiled binaries for macOS ARM64 (darwin.aarch64)
- Added support for busybox sh
- Added flag --rcfile to specify an rc file by name.
- Added `extended-analysis=true` directive to enable/disable dataflow analysis
(with a corresponding --extended-analysis flag).
- SC2324: Warn when x+=1 appends instead of increments
- SC2325: Warn about multiple `!`s in dash/sh.
- SC2326: Warn about `foo | ! bar` in bash/dash/sh.
- SC3012: Warn about lexicographic-compare bashism in test like in \[ ]
- SC3013: Warn bashism `test _ -op/-nt/-ef _` like in \[ ]
- SC3014: Warn bashism `test _ == _` like in \[ ]
- SC3015: Warn bashism `test _ =~ _` like in \[ ]
- SC3016: Warn bashism `test -v _` like in \[ ]
- SC3017: Warn bashism `test -a _` like in \[ ]
##### Fixed
- source statements with here docs now work correctly
- "(Array.!): undefined array element" error should no longer occur
### [`v0.9.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v090---2022-12-12)
[Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.8.0...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
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.8.0
->0.10.0
Release Notes
koalaman/shellcheck (koalaman/shellcheck)
### [`v0.10.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v0100---2024-03-07) [Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.9.0...v0.10.0) ##### Added - Precompiled binaries for macOS ARM64 (darwin.aarch64) - Added support for busybox sh - Added flag --rcfile to specify an rc file by name. - Added `extended-analysis=true` directive to enable/disable dataflow analysis (with a corresponding --extended-analysis flag). - SC2324: Warn when x+=1 appends instead of increments - SC2325: Warn about multiple `!`s in dash/sh. - SC2326: Warn about `foo | ! bar` in bash/dash/sh. - SC3012: Warn about lexicographic-compare bashism in test like in \[ ] - SC3013: Warn bashism `test _ -op/-nt/-ef _` like in \[ ] - SC3014: Warn bashism `test _ == _` like in \[ ] - SC3015: Warn bashism `test _ =~ _` like in \[ ] - SC3016: Warn bashism `test -v _` like in \[ ] - SC3017: Warn bashism `test -a _` like in \[ ] ##### Fixed - source statements with here docs now work correctly - "(Array.!): undefined array element" error should no longer occur ### [`v0.9.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v090---2022-12-12) [Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.8.0...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
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Renovate Bot.