I can highly recommend using Shellcheck [0] when writing Bash, it also has extensions for VS Code and other IDE's. It makes writing Bash much easier.
Let's hope it's not bash scripts you're writing :-)
Example here: https://news.ycombinator.com/item?id=33122256