Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
spaces_around_brackets for bash arrays? #525
I searched and couldn't find an existing issue about space around/inside single-line bash arrays or
It might also make sense to officially consider
(ref https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties, although I'm guessing I don't need to link that to you
Thanks for creating such a neat tool (and for handling so many edge cases of POSIX/Bash).
I had actually only looked into "widely supported" options, and not the rest. The two options you bring up are described as:
So they don't seem particularly widespread or endorsed by the project :)
In general, the tool has only gained options for choices that annoyed too many users, or made it impossible to support widespread style guides (like Google's). We already have six formatting options, and I personally think that's enough for the foreseeable future. I understand that we can't be
If the reason behind this issue is "I found these semi-standard EditorConfig properties, why don't we support them", the answer is that I don't intend to support all standard properties. For example,
If the reason is instead "I think this should be a formatting option", some background info would be good. Does any shell style guide enforce this kind of spacing? Are there any large projects that use this kind of style?
One thought that comes to mind is
My own reason was as simple as "this is one of the very few places
I like the idea of
Thanks - I agree we should close this for now. I don't have short-term plans for a v4, but when that time comes, I'd find it reasonable to coalesce all of this into