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

Open to new features? #16

Closed
colindean opened this issue Sep 30, 2019 · 1 comment
Closed

Open to new features? #16

colindean opened this issue Sep 30, 2019 · 1 comment

Comments

@colindean
Copy link

colindean commented Sep 30, 2019

My team is looking for a SQL formatter that meets our needs. sql-formatter gets pretty close to what we want but I want to add some features that would satisfy our needs:

  1. Option to capitalize reserved words
  2. certain functions should not have parameters newlined on commas
  3. boolean statements shouldn’t be wrapped across lines with the operator at the beginning of subsequent lines unless the line would exceed some set length
  4. JOIN should be at the same indentation level as the parent FROM instead of within it (this one is strange to me, the aforementioned make sense)
  5. ON should be inside a JOIN

I'd like to make these be toggleable options. If I made the changes, would you accept a PR?

@vertical-blank
Copy link
Owner

@colindean Yes, I welcome contributions.Thank you.

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

No branches or pull requests

2 participants