Optional style warning about [ x$var = xval ]

This commit is contained in:
Vidar Holen
2020-10-19 18:25:18 -07:00
parent 256457c47a
commit 28d3279ba6
2 changed files with 43 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
- SC2264: Warn about wrapper functions that blatantly recurse
- SC2265/SC2266: Warn when using & or | with test statements
- SC2267: Warn when using xargs -i instead of -I
- Optional avoid-x-comparisons: Style warning SC2268 for `[ x$var = xval ]`
### Fixed
- SC1072/SC1073 now respond to disable annotations, though ignoring parse errors