ShellCheck.

A shell script static analysis tool. https://github.com/koalaman/shellcheck