Skip to content

Suggestion: Don't allow more than 1 consecutive blank line #230

Closed Answered by nfcampos
nfcampos asked this question in The sqlfmt Style
Discussion options

You must be logged in to vote

The opinion of some formatters for other languages

Both leave empty lines from original format, but collapse them to a standard number of lines (ie. 0 empty lines remain 0, 7 or 6 or 1 empty lines all become eg 1 empty line)

Black goes even further and adds empty lines in some places (which I think you could consider doing eg around CTEs for readability)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tconbeer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #227 on August 02, 2022 21:40.