feat(formatter): add custom default SQL layout engine

This commit is contained in:
t8y2 authored and GitHub committed 2026-09-17 17:21:47 +08:00
1 parent 58200ce5a4
commit 455117b8c5
20 files changed
+1588 -175

No files matched your search

+2 -2
View File
@@ -245,7 +245,7 @@ test("maps DBX formatter settings to sql-formatter options", () => {
useTabs: true,
tabWidth: 2,
logicalOperatorNewline: "before",
expressionWidth: 50,
expressionWidth: 120,
linesBetweenQueries: 1,
denseOperators: false,
newlineBeforeSemicolon: true,
@@ -271,7 +271,7 @@ test("maps DBX formatter settings to sql-formatter options", () => {
useTabs: false,
tabWidth: 2,
logicalOperatorNewline: "before",
expressionWidth: 50,
expressionWidth: 120,
linesBetweenQueries: 1,
denseOperators: false,
newlineBeforeSemicolon: false,