mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 13:53:58 -07:00
Warn about [ ! -o opt ] (and -a) being unconditionally true (fixes #3174)
This commit is contained in:
parent
574c6d18fb
commit
c41f3a4b8a
2 changed files with 23 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
- SC2329: Warn when (non-escaping) functions are never invoked.
|
||||
- SC2330: Warn about unsupported glob matches with [[ .. ]] in BusyBox.
|
||||
- SC2331: Suggest using standard -e instead of unary -a in tests.
|
||||
- SC2332: Warn about `[ ! -o opt ]` being unconditionally true in Bash.
|
||||
- SC3062: Warn about bashism `[ -o opt ]`.
|
||||
- Precompiled binaries for Linux riscv64 (linux.riscv64)
|
||||
### Changed
|
||||
- SC2002 about Useless Use Of Cat is now disabled by default. It can be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue