SC2295 Warn about unquoted variables in PE patterns (fixes #2290)

This commit is contained in:
Vidar Holen
2021-08-03 12:54:03 -07:00
parent 9b61506e0b
commit cf8066c07c
3 changed files with 33 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
- SC2291: Warn about repeated unquoted spaces between words in echo
- SC2292: Suggest [[ over [ in Bash/Ksh scripts (optional)
- SC2293/SC2294: Warn when calling `eval` with arrays
- SC2295: Warn about "${x#$y}" treating $y as a pattern when not quoted
### Fixed
- SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]]