Utilize prettier's printWidth
behaviour
#486
Unanswered
codeflorist
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm exactly in the same boat as you, except it is for the JSX part when used with React. I would like to use the I actually haven't found a successful solution, and I believe this discussion should instead live on the ESLint Stylistic repository. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible with this package to utilize prettier's
printWidth
functionality to automatically wrap e.g. HTML tags in vue-files, if the lines become too long?I know there is the
vue/max-attributes-per-line
rule, it doesn't take the line's length in account - thus unnecessarily wrapping perfectly readable tags with short attributes - and possibly not wrapping tags with few but very long attributes.Beta Was this translation helpful? Give feedback.
All reactions