Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for creating and maintaining this package.
I would like to use it in a TypeScript server plugin to format SQL statements and found that I need some of the others options that pgFormatter provides. I hope you are open to these additions 馃檪
$HOME/.pg_format
. This fails on Windows becauseHOME
is not set (at least not by default). In addition I think I would like to have consistent formatting based on the project settings for the TS server plugin, so it makes sense to ignore local user options for now.While working on this I also fixed ESLint to make sure I don't introduce any unintended issues. I went with the easiest option and updated the packages just enough to make them work.