shellcheck icon indicating copy to clipboard operation
shellcheck copied to clipboard

ShellCheck, a static analysis tool for shell scripts

Results 505 shellcheck issues
Sort by recently updated
recently updated
newest added

#### For bugs - Rule Id (if any, e.g. SC1000): SC2034 - My shellcheck version (`shellcheck --version` or "online"): 0.10.0 - [x] The rule's wiki page does not already cover...

- [x] I searched through https://github.com/koalaman/shellcheck/issues and didn't find anything related --- First thanks for the tool! Current if I run `shellcheck **/*.sh`, it will check all files in current...

#### For new checks and feature suggestions - [x] https://www.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...

- Rule Id (if any, e.g. SC1000): SC1091 - My shellcheck version (`shellcheck --version` or "online"): 0.8.0 and 0.10.0 tried - [x] The rule's wiki page does not already cover...

In shellcheck output `https://www.shellcheck.net/wiki/SC3061` redirects to `https://github.com/koalaman/shellcheck/wiki/SC3061` meaning that the doc page doesn't exist. AFAIK this is linked to #2572 so I don't really know what happend here. Also found...

#### For bugs - Rule Id: SC2282 - My shellcheck version (`shellcheck --version` or "online"): 0.10.0 - [x] The rule's wiki page does not already cover this - [x] I...

- My shellcheck version (`shellcheck --version` or "online"): Tried 0.8.0 and 0.10.0 - #### Here's a snippet or screenshot that shows the problem: I have several scripts with medium amounts...

#### For bugs - Rule Id (if any, e.g. SC1000): - My shellcheck version (`shellcheck --version` or "online"): - [ ] The rule's wiki page does not already cover this...

The problem I encountered was forgetting to label a variable in a function as local, e.g. using the name i as an index into an array. so if you use...

#### For bugs - SC2190 - 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 tried on https://www.shellcheck.net/ and verified...