Warn about [ $a != x ] || [ $a != y ]

This commit is contained in:
Vidar Holen
2019-06-02 09:24:53 -07:00
parent 36bb1e7858
commit 3e7c2bfec0
2 changed files with 28 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
- Source paths: Use `-P dir1:dir2` or a `source-path=dir1` directive
to specify search paths for sourced files.
- json1 format like --format=json but treats tabs as single characters
- SC2252: Warn about `[ $a != x ] || [ $a != y ]`, similar to SC2055
- SC2251: Inform about ineffectual ! in front of commands
- SC2250: Warn about variable references without braces (optional)
- SC2249: Warn about `case` with missing default case (optional)