pg-schema-diff icon indicating copy to clipboard operation
pg-schema-diff copied to clipboard

Create Go script that can replace preceding tabs with spaces in SQL string literals

Open ammiranda opened this issue 7 months ago • 5 comments

Related to #67, this issue is a follow-up to the PR resolving #67 which will add a Go based script that can be run as needed to correct the whitespace for the string literals.

The desired feature set should include:

  • Re-writes the acceptance tests to have tab-less multi-line strings
  • Preferably has a--fix option, such that there is basically a validation/dry-run mode and a write mode
  • Is called from the makefile lint and lint_fix targets (like go_lint, sql_lint, etc)

ammiranda avatar Jul 20 '24 15:07 ammiranda