Supress SC2015 about A && B || C when B is a test.

This commit is contained in:
Vidar Holen
2024-05-04 15:12:13 -07:00
parent 4f81dbe839
commit 76ff702e93
3 changed files with 15 additions and 11 deletions

View File

@@ -2,6 +2,8 @@
### Added
- SC2327/SC2328: Warn about capturing the output of redirected commands.
- SC2329: Warn when (non-escaping) functions are never invoked.
### Changed
- SC2015 about `A && B || C` no longer triggers when B is a test command.
### Fixed
- SC2317 about unreachable commands is now less spammy for nested ones.