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

feat: added sqruff #728

Merged
merged 4 commits into from
Jan 19, 2025
Merged

feat: added sqruff #728

merged 4 commits into from
Jan 19, 2025

Conversation

magnuslarsen
Copy link
Contributor

Added sqruff to the list of available linters (a new tool inspired by Python's ruff and sqlfluff)

I've added with stdin support + json parsing; though their JSON-format output lacks the error codes (I made an issue: quarylabs/sqruff#1219)

This was heavily inspired by the phpcs-implementation :-)

Let me know if I can improve it somehow

lua/lint/linters/sqruff.lua Outdated Show resolved Hide resolved
lua/lint/linters/sqruff.lua Outdated Show resolved Hide resolved
lua/lint/linters/sqruff.lua Outdated Show resolved Hide resolved
magnuslarsen and others added 3 commits January 19, 2025 12:33
Co-authored-by: Mathias Fußenegger <[email protected]>
Co-authored-by: Mathias Fußenegger <[email protected]>
Co-authored-by: Mathias Fußenegger <[email protected]>
@mfussenegger mfussenegger merged commit ec9fda1 into mfussenegger:master Jan 19, 2025
3 checks passed
@mfussenegger
Copy link
Owner

Thanks

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

Successfully merging this pull request may close these issues.

2 participants