mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-25 18:39:53 +08:00
Warn about [ ! -o opt ] (and -a) being unconditionally true (fixes #3174)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user