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
My apologies for the delay, I have taken the liberty to update the title (multiple times)). My understanding is that this request can be broken down into the following parts:
Porting the existing PR for JSX (prettier/prettier#4862) is now under serious consideration.
To "disable printWidth" behavior for source code in general (prettier/prettier#3468) may require a pretty major rework of the existing Prettier code ... maybe enough to justify a rewrite. To respect the line breaks in the original code, a code reformatter would have to check for and work around the input line breaks before or after every single token in the AST.
prettier/prettier#3468
prettier/prettier-vscode#352 (comment)
prettier/prettier-vscode#888
https://stackoverflow.com/questions/54325979/disable-printwidth-on-prettier
prettier/prettier#3101
prettier/prettier#4298 (comment)
Would be great if there was a way to disable printWidth so I can define the new lines as I see fit, especially for JSX.
The text was updated successfully, but these errors were encountered: