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
- shellcheck.net should take a URL
- Enhancement: warn about undefined variables
- Add warning for variables set / changed in a function which are not declared as local.
- Pre-allocate SC30xx for pure style warnings and SC31xx for syntax workarounds
- Specifying variablesWithoutSpaces Without Modifying the Code
- the checker says "it looks all good", but "test.sh: 3: [: Illegal number:" error is reported when being executed
- warnings for trap
- Doesn't warn about unpefixed globs and other globbing issues
- Consider checking for -eq used with strings
- Variables, which are accessed in one function
- Docs
- Haskell not yet supported