IT pill

Classic shell scripting (Bash, Korn Shell, etc.) is like démodé nowdays, but neverthless still used in Linux and other Unix like systems.
Therefore is still worth to mention about a static analysis tool written in Haskell https://www.shellcheck.net/
This tool will analyze your script and display each case of improper code or not following best practices.