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

SC2268 recommends that one not use x-prefix comparisons, but it allows them in many cases. SC2268 appears to only get triggered if: 1) The comparison is = or ==. Nothing...

#### 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 found https://github.com/koalaman/shellcheck/issues/977#issuecomment-373405520,...

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

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

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

This is a feature request to enforce "set -e" and similar safeguard options when linting bash. The motivation is to actively guide developers to write saner scripts with fewer unexpected...

I removed the template since none of it applies. This is just a request to widen the accepted versions of the QuickCheck dependency. QuickCheck-2.15 was released in May but ShellCheck...

I am trying to check a big shellscript ~5200 lines. You can find the script here: https://github.com/dlt-green/node-installer-docker/blob/main/node-installer.sh I installed the latest version 0.10.0 on Ubuntu server using: ``` scversion="stable" #...

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