SC2325/SC2326: Warn about ! ! foo and foo | ! bar (fixes #2810)

This commit is contained in:
Vidar Holen
2023-07-30 19:18:27 -07:00
parent 9490b94886
commit dd747b2a98
3 changed files with 43 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
## Git
### Added
- 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.
### Fixed
- source statements with here docs now work correctly