shellcheck
https://github.com/koalaman/shellcheck
Haskell
ShellCheck, a static analysis tool for shell scripts
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Haskell not yet supported16 Subscribers
Add a CodeTriage badge to shellcheck
Help out
- Issues
- Ignore SC2317 on: return $STATUS 2>&- || exit $STATUS
- `IFS=` should be suggested for `while read -r line; do` to avoid omitting leading spaces
- Allow configuring to reject code that is incompatible with bash 3.2.
- Lint against case where a variable name could be a flag
- SC2317 findings are confusing and difficult to act on
- SC2317 should only trigger once per unreachable code path
- Infer shell from filename for shell-specific files
- Misleading message for SC2002
- Suggest to use substring manipulation instead of cut
- SC2009 recommends away from a POSIX way to a non-POSIX way
- Docs
- Haskell not yet supported