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
- SC2115 fires when it is statically verifyable that the variable cannot be empty
- SC2034 doesn't consider local function definitions to define new scopes
- Recommend to unset associative array variable before declaration to avoid conversion
- SC2282 - variables starting with numbers aren't flagged as errors if done in arithmetic context
- Shellchecks follows sourced files even if the file was already sourced
- Leading slashes in source .. directives are ignored by shellcheck
- Feature request: per-source `check-sourced` directive
- New Rule: Executables must start with `#!/bin/bash` and a minimum number of flags.
- Feature request: disable directives in fles
- SC2319 warns to assign $? to a var, IN an assignment to a var (0.10.0 broke, shellcheck.net not broken)
- Docs
- Haskell not yet supported