-
Notifications
You must be signed in to change notification settings - Fork 19
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
sqruff.toml support #798
Comments
Hey @musjj, Thanks for the issue; I'm just trying to understand your request exactly. You can already configure sqruff with a a |
[sqlfluff]
templater = jinja
[sqlfluff:indentation]
indented_joins = False It would be nice if we can just use [sqlfluff]
templater = "jinja"
[sqlfluff.indentation]
indented_joins = false |
Hey @musjj, Thanks for clarifying! I think getting to a more robust standard is worthwhile! The The problem with the above is slightly more complicated as the real hurdle is unpacking the configuration code to do the above well. So, we would likely focus on that first. I worry slightly about the audience; our users are generally "data people," and I think the most familiar configuration definition we are used to is Ultimately, though, I think overall a strongly typed (with JSON schema) |
Adding to this, it would be great if First time I tried sqruff I assumed because it's supposed to be compatible with sqlfluff rules that it would pick up the config and then thought sqruff was not working correctly/at all with a custom config. Only later I saw that apparently it would only pick up on |
Having a |
TOML config support would be nice to have, especially in a Rust project.
The text was updated successfully, but these errors were encountered: