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:
2026-06-27 19:32:57 +02:00
parent d4e6102932
commit 932c83dbad
10 changed files with 345 additions and 11 deletions
+7
View File
@@ -0,0 +1,7 @@
# Fully lowercase style — keywords, types, and identifiers all lowercased.
# Common in teams that prefer minimal visual noise.
keyword_case: lower
ident_case: lower
type_case: lower
commas: leading