mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 18:48:16 -07:00
Warn when $? refers to echo or condition (ref #2541)
This commit is contained in:
parent
b261ec24f9
commit
5cf6e01ce9
4 changed files with 42 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
- 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
|
||||
|
||||
### Fixed
|
||||
- SC2086: Now uses DFA to make more accurate predictions about values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue