Add SC1133: Warn when a line starts with |/||/&& (fixes #1359)

This commit is contained in:
Vidar Holen
2018-10-21 17:21:08 -07:00
parent b815242506
commit df0a0d41fa
2 changed files with 9 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
- SC2236/SC2237: Suggest -n/-z instead of ! -z/-n
- SC2238: Warn when redirecting to a known command name, e.g. ls > rm
- SC2239: Warn if the shebang is not an absolute path, e.g. #!bin/sh
- SC1133: Better diagnostics when starting a line with |/||/&&
### Changed
- Most warnings now have useful end positions
- SC1117 about unknown double-quoted escape sequences has been retired