shellcheck icon indicating copy to clipboard operation
shellcheck copied to clipboard

ShellCheck, a static analysis tool for shell scripts

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

Add a new rule to check for `&&` usage with `set -e` set. Recently I got burned by https://unix.stackexchange.com/questions/312631/bash-script-with-set-e-doesnt-stop-on-command/318412#318412 I'm pretty new to Haskell so I figured I'd start small....

Dockerhub got unfortunately rate limited regarding pulling containers. By publishing to the Github container registry (can be found here https://github.com/koalaman?tab=packages) that rate limit can be avoided and makes pipelines using...

**Note this seems to be a regression in 0.8.0, as I did not had this bug with 0.7.1.** This is why I am hesitant to call it a duplicate of...

#### For bugs - Rule Id (if any, e.g. SC1000): SC2148, SC2006, SC2164 - My shellcheck version (`shellcheck --version` or 'online'): online - [x] I tried on shellcheck.net and verified...

#### For bugs - Rule Id (if any, e.g. SC1000): SC2317, SC2317 - My shellcheck version (`shellcheck --version` or 'online'): online - [x] I tried on shellcheck.net and verified that...

#### For bugs - My shellcheck version (`shellcheck --version` or "online"): 0.8.0 - [x] The rule's wiki page does not already cover this (e.g. https://shellcheck.net/wiki/SC2086) - [x] I tried on...

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

#### For bugs - My shellcheck version (`shellcheck --version` or "online"): tested 0.4.6 to 0.8.0 #### Here's a snippet or screenshot that shows the problem: From an arm64 architecture, like...

tl;dr: If your bug was closed as a duplicate of this one, it was fixed by ShellCheck's new DFA engine ### What's new? It took hundreds of hours of more...

As far as I know, this does not use the same pipeline and works perfectly reliably. #### For bugs - Rule Id (if any, e.g. SC1000): SC2094 - My shellcheck...