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
Currently, Prettier forces all CSS Selectors to be on their own line. This is a nice feature but takes too much vertical height for selectors with an initial short horizontal width. This creates unnecessarily long files for a selector that was simple to begin with.
I propose that we add a simple config that I believe will cover every CSS developer's use case, such as: { styleSelectorWidth : 40} (default: 0 = All CSS selectors on a new line). This would behave similarly to eslint's' max-len rule and Prettier's rationale behind --print-width.
Activity
j-f1 commentedon Mar 5, 2019
Instead of an option, we should have a heuristic for this. Please follow along in #5086.