Don't warn about repeated range in [[ -v arr[xxx] ]] (fixes #2285)

This commit is contained in:
Vidar Holen
2021-07-25 12:59:56 -07:00
parent 9eb63c97e6
commit 0d58337cdd
3 changed files with 16 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
- SC2289: Warn when command name contains tabs or linefeeds
### Fixed
- SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]]
- SC2290: Warn about misused = in declare & co, which were not caught by SC2270+
### Changed