Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Increase prettier line width to 100 #20535
In this PR I increase the max line width in prettier to 100. Since we enforce the prettier styling for TypeScript I wanted to put this up for discussion if 80 (which it was right now) is really reasonable. You can also check the auto fixes in this PR to get a feeling how 80 chars vs 100 chars will look like.
Please feel free to vote up/down on this PR to switch to 100 chars line width (and in case you also vote up, feel free to leave a review).
@markov00 I would understand
Since people seem to like and upvote the 100 chars width, I would also change the styleguide accordingly, to be a bite more clear and not giving us a range.
Since we also enforce the line width in the reverse way, i.e. you cannot split up a line if it would fit into that setting, I would rather limit it to the 100 (that's somewhere in the middle of 80 and 120), since I think 120 char lines could tend to be rather long as a "must" have.