sh
https://github.com/mvdan/sh
Go
A shell parser, formatter, and interpreter with bash support; includes shfmt
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.
Go not yet supported2 Subscribers
Add a CodeTriage badge to sh
Help out
- Issues
- Indentation of empty case places ;; in the same line as the case
- Undoes comment terminating multi-line lists or commands to avoid unnecessary diff modification
- panics on "export A0=$0("
- zsh error on regex [[:space]]
- shfmt errors and/or breaks code when arrays have keys that contain pound signs or variables
- Formatting issue: Command in quoted subshell with HEREDOC should not be moved to newline
- shfmt: insert space after Not
- zsh: support leading parens for zsh glob alternations and flags in command arguments
- zsh: support omitted parameter name in `${:-word}` expansions
- zsh: expression after subscript flags is incorrectly parsed as arithmetic
- Docs
- Go not yet supported