Warn about eval'ing arrays

This commit is contained in:
Vidar Holen
2021-07-30 18:46:19 -07:00
parent e33146d530
commit a44f3edb14
3 changed files with 24 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
- SC2289: Warn when command name contains tabs or linefeeds
- 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
### Fixed
- SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]]