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
Long imports and exports don't respect max line-length #19
Comments
I've been working on some changes locally which might help fix that. Will send a PR soon. |
Rename obsolete `prettier-with-tabs` into `prettier-miscellaneous`
There's still an issue when one import exceeds the max line length. As an example...
...could be handled by...
Not too crucial though, but still it could be solved. Worked around by adding a comment, which is doing the trick and prevents the one-line formatting, if someone runs into the same issue:
|
@oclyde This is intended behavior. We intentionally don't split if there's only one specifier in the import |
I'm not sure if this is intended or a problem, but here's an example:
Any `import {...} from 'package'; lines that exceed the max line length are not wrapped.
Was expecting something like: (or similar)
The text was updated successfully, but these errors were encountered: