Blogmark

List of all ShellCheck Rules

via jbranchaud@gmail.com

https://www.shellcheck.net/wiki/
ShellCheck Bash Scripting

This is the root wiki page for ShellCheck which lists all of the rules that it enforces when checking your scripts.

Each rule links to a page that describes the issue, shows you an example of the problematic code, and a corrected version.

E.g. SC1003 Want to escape a single quote? echo 'This is how it'\''s done.' shows:

Problematic code:

echo 'this is not how it\'s done'

Corrected code:

echo 'this is how it'\''s done'