You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure whether this is an expected behaviour, but I was surely surprised by this. I also did not find an answer in existing issues or discussions.
To give some context, I read about the (many) discussions asking for having a maximum length option (e.g. #80). In projects where there is a maximum line length enforcement, we split lines by hand using \ and I'd like shfmt not to change that, especially because then lines would often exceed the maximum length.
Is this behaviour intended?
The text was updated successfully, but these errors were encountered:
Maybe someone can shed some light on this. It might well be that I am missing something here. 🤔
1Sorry for the process substitution brain-gymnastic, it is definitely not something I would use in a real script, but it was the most compact way to offer something to play with in a terminal.
A bash command split on multiple lines without a space before
\
gets reformatted.I am not sure whether this is an expected behaviour, but I was surely surprised by this. I also did not find an answer in existing issues or discussions.
To give some context, I read about the (many) discussions asking for having a maximum length option (e.g. #80). In projects where there is a maximum line length enforcement, we split lines by hand using
\
and I'd likeshfmt
not to change that, especially because then lines would often exceed the maximum length.Is this behaviour intended?
The text was updated successfully, but these errors were encountered: