Use CFG to determine use-before-define for SC2218 (fixes #3070)

This commit is contained in:
Vidar Holen 2024-10-27 15:43:30 -07:00
commit 5e3e98bcb0
2 changed files with 25 additions and 24 deletions

View file

@ -7,6 +7,7 @@
### Changed
- SC2015 about `A && B || C` no longer triggers when B is a test command.
### Fixed
- SC2218 about function use-before-define is now more accurate.
- SC2317 about unreachable commands is now less spammy for nested ones.
- SC2292, optional suggestion for [[ ]], now triggers for Busybox.