ShellCheck – shell script analysis tool

ShellCheck is an open source static anaylsis tool that automatically finds bugs in your shell scripts.