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
The documentation of javascript --wrap-line-length says:
"Wrap lines at next opportunity after N characters"
And the code behaves like that. Though I think that's not usually what you want. Most projects code style requires a maximum line length which has to be respected exactly.
(I also noticed that css/html behave as I expect, according to the docs at least).
The text was updated successfully, but these errors were encountered:
Thanks for filing this. This is an interesting problem, which I hope someone will fix. And I'm pretty sure the docs are incorrect regarding css/html. 😄 They are all in the same boat, best effort.
In the meanwhile, as a workaround set your wrap length slightly shorter than your guidelines require. Also when #286 goes in this will be less of an issue as, due to the later removal of redundant indents, the js beautifier will tend to appear to wrap too early rather than too late.
The documentation of javascript --wrap-line-length says:
"Wrap lines at next opportunity after N characters"
And the code behaves like that. Though I think that's not usually what you want. Most projects code style requires a maximum line length which has to be respected exactly.
(I also noticed that css/html behave as I expect, according to the docs at least).
The text was updated successfully, but these errors were encountered: