-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate if shfmt is something for us #94
Comments
I use it, but there are some problems... mostly having to do with arithmetic expressions, and the inability to run It may also have some conflicting opinions about style compared to |
Seems you investigated already, nice 😄 Also seems it's not a clear 💯 yet, perhaps let's wait a bit for the project to mature before investing in it. Will leave this open so we won't forget then |
Hi! Shamelessly adding myself to the conversation. It's entirely possible that parameter and arithmetic expansions have bugs - it's hard to get all the edge cases and details right. Have you tried recent versions such as 2.0? I fixed quite a bit of these earlier this year, so for example Of course it's getting better with time, but it will get better faster if you spot bugs and report them :) Also note that a few things can be changed about its style - indentation, binary operator positioning and switch case double-indents as of now. |
@mvdan Thanks for chiming in! I'll have to test again with the latest version. If anything still seems broken I'll file a bug report. Also, yes, I know I should not "suffer in silence" and know how frustrating this can be as an open source maintainer myself. Just hard to attend to all of life's priorities |
No worries :) You don't need to provide detailed bug reports if you don't have the time - a way to reproduce the issue is enough. |
https://github.com/mvdan/sh
The text was updated successfully, but these errors were encountered: