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 with existing features - Rule Id (if any, e.g. SC1000): SC3028 - My shellcheck version (`shellcheck --version` or "online"): 0.11.0 - [x] The rule's wiki page does...

#### For bugs with existing features - Rule Id SC2168 ('local' is only valid in functions) - ShellCheck 0.11.0 - [x] The rule's wiki page does not already cover this...

#### For bugs with existing features - Rule Id (if any, e.g. SC1000): SC1100 - My shellcheck version (`shellcheck --version` or "online"): 0.11.0 and online - [x] The rule's wiki...

#### 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 find...

#### For bugs with existing features - Rule Id: SC3045 - My shellcheck version: 0.11.0 (Debian Sid package 0.11.0-1) - [x] The rule's wiki page does not already cover this...

#### 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 find...

I don't understand why would shellcheck warn about this? This is a predefined BATS variable Also shouldn't shellcheck ignore uppercase variables per https://github.com/koalaman/shellcheck/issues/356#issuecomment-95713643 ?

#### For bugs with existing features - Rule Id: SC2154 - My shellcheck version: 0.11.0 - [x] The [rule's wiki page](https://shellcheck.net/wiki/SC2154) does not already cover this - [x] I tried...

#### 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 find...

**Describe the bug** I get the error by check the file .bash_aliases. But .bash_aliases didnt use a shebang. **Expected Behavior** If no mistake in alias definition, the check will be...