-
Notifications
You must be signed in to change notification settings - Fork 22
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
Configure empty lines? #713
Comments
I thought I was the only who is getting annoyed by that thing. That would be really great if we can "off" that feature on prettier. |
+1 driving me bananas. started looking for alternatives. landed here. |
This has been driving me crazy for years. I really wish prettier wasn't the industry standard considering it doesn't allow me to configure my codes formatting. My code is much harder to read because of prettiers 'philosophy'. |
Really does need a setting to allow either max-blank-lines or preserve-blank-lines. It isn't too far fetched to think they are needed. When i code something i consider a function often has various step, validate input, setup needed processing, process and determine results. Been my practice to help keep the code clean and understandable that i'll put in comments and blank lines to use white space. Only to see them removed and arrrrggg why have any formatting? If vertical whitespace isn't important, we should get rid of horizontal whitespace as well, everything should rightfully be in column 1... |
Please excuse me if I haven't spotted any such option anywhere, but I'd like to know wether prettierX allows us to configure the amount of blank lines that are auto-collapsed?
I use 2 (or more) empty lines for visual separation of code blocks all the time, and am continuously annoyed by prettier collapsing them back down.
Here are some prettier issues with other users asking for the feature (alas, prettier seems to be locked down tight in the configuration department):
prettier/prettier#12053
prettier/prettier#1613
prettier/prettier#6916
The text was updated successfully, but these errors were encountered: