Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading configuration from rcfile (.pg_format) #11

Closed
amureki opened this issue Mar 29, 2022 · 2 comments
Closed

Reading configuration from rcfile (.pg_format) #11

amureki opened this issue Mar 29, 2022 · 2 comments

Comments

@amureki
Copy link

amureki commented Mar 29, 2022

Greetings @gajus !

Thank you for a great package, I started using it in one of my projects, it is quite handy.

I am wondering if reading config from .pg_format works, can't find the logic for it after briefly skimming the code.

So, what I was trying to do - adding a small config, like this:

no-extra-line=1

running pg_format with this config works, but pg-formatter seems to ignore it.

I also did not find -L | --no-extra-line param in CLI here.
I am happy to provide a patch to add this one, if that'd be the way to go.

Best,
Rust

@ssukienn
Copy link

It is not working as this lib is using 4.4 version which does not yet have that. @gajus would it be possible to bump the pg_formatter binary in package.json?

@gajus
Copy link
Owner

gajus commented Sep 22, 2023

We are now on v5.5

const libraryUrl = `https://github.com/darold/pgFormatter/archive/refs/tags/v5.5.tar.gz`;

@gajus gajus closed this as completed Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants