shellcheck
shellcheck copied to clipboard
ShellCheck, a static analysis tool for shell scripts
This issue is akin to #664, but not a duplicate. Quite often, I find myself having to write scripts that re-execute themselves with the proper interpreter, because portability is a...
#### For bugs - Rule Id (if any, e.g. SC1000): - My shellcheck version (`shellcheck --version` or "online"): - [x] I tried on shellcheck.net and verified that this is still...
#### For bugs - Rule Id (if any, e.g. SC1000): SC2119 and SC2120 - My shellcheck version (`shellcheck --version` or "online"): 0.8.0 and online. - [x] The rule's wiki page...
#### For bugs - Rule Id: SC2312 - My shellcheck version: 0.8.0 and online - [X] The rule's wiki page does not already cover this (e.g. https://shellcheck.net/wiki/SC2086) - [X] I...
#### For bugs - Rule Id (if any, e.g. SC1000): SC2034 - My shellcheck version (`shellcheck --version` or 'online'): online - [x] I tried on shellcheck.net and verified that this...
I wanted to propose a new section for the Wiki page, but I wasn't sure how to do it properly, so I did it via web UI. When I hit...
#### For new checks and feature suggestions - [X] shellcheck.net (i.e. the latest commit) currently gives no useful warnings about this - [X] I searched through https://github.com/koalaman/shellcheck/issues and didn't find...
We use shell check for the last 6 month to preform automated shellcheck commands on our source code. Recently we got a lot of issues with failing checks and started...
Previously, 'su --command=something' would result in SC2117 although it is the official long version of 'su -c something'.
To be able to set the color option in the config file (detection in GitLab CI fails for example) is useful when using template shellcheck containers for one. Secondly, storing...