Open
Description
Describe the Feature
A configuration option (or default behavior) to keep some existing blank lines from the input file. For example, IntelliJ has the following options for Java:
Why do you want this feature?
I have some SQL files used for database migrations with a header comment at the top that isn't directly related to the first query:
-- Some header comment
-- with metadata for migrations tool
CREATE TABLE something(id INTEGER PRIMARY KEY);
When I format this with sql-formatter, it currently deletes the blank line between the header comment and the first query.