That's true, so many times I have used shellcheck and started to improve a bash script, only to realize my time was better spent rewriting the script in Ruby.
Take a look at this, as well:
Re:Bash 5.0 released
by TheGrassyKnoll on Tuesday January 08, 2019 @07:48AM
(#18855150)
See also: http://www.pyinvoke.org/
Often, this is a good sign that you might want to switch to another scripting language.