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

Add sql-formatter hook #781

Closed
slyapustin opened this issue Jan 27, 2023 · 2 comments
Closed

Add sql-formatter hook #781

slyapustin opened this issue Jan 27, 2023 · 2 comments

Comments

@slyapustin
Copy link

There is an unofficial hook for sql-formatter which might be added to the list.

Was trying to convince the author to add an official integration, but he is against it.

@asottile
Copy link
Member

I don't know what you want me to do about it -- the author seems to ignore tools like eslint or rubocop which are orders of magnitude more popular than their tool which have set up an integration

@slyapustin
Copy link
Author

I would like to have an alternative for sqlfluff (which is insanely slow on big SQL files) in the list https://pre-commit.com/hooks.html

sql-formatter is a nice alternative for that, and I added an integration for it: https://github.com/slyapustin/pre-commit-sql-formatter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants