feat(cmd): add unified diff output option for formatting
* Implemented `-d`/`--diff` flag to print unified diffs. * Added `unifiedDiff` function for generating diffs. * Config discovery now merges fields from `.pgtidy.yaml`.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Preserve-case style — no casing changes applied.
|
||||
# Useful for codebases with mixed-convention legacy SQL that you want to
|
||||
# reformat structurally (indentation, commas) without touching casing.
|
||||
|
||||
keyword_case: preserve
|
||||
ident_case: preserve
|
||||
type_case: preserve
|
||||
commas: leading
|
||||
Reference in New Issue
Block a user