Introducing SQL Linter with SQLFluff
![](https://framerusercontent.com/images/PAP7VWupxg2hFCTZqIb7ooJpwo.png)
Poom Wettayakorn
changelog
What's new
We’re happy to announce our new feature, the 🧙♂️ "SQL Linter"
🪄 This will automatically validate and fix SQL for you.
🫣 Never worry about anti-pattern code again.
Watch on Youtube https://youtu.be/AlLBrn1n5s4
What's SQLFluff
"SQLFluff is an open source, dialect-flexible and configurable SQL linter. Designed with ELT applications in mind, SQLFluff also works with Jinja templating and dbt. SQLFluff will auto-fix most linting errors, allowing you to focus your time on what matters.", https://sqlfluff.com/
Auto formatting the code
![](https://framerusercontent.com/images/9myZqoxgR8Ja00YSxkgi9s3kY4s.png)
Detect anti-pattern queries and show rules reference
![](https://framerusercontent.com/images/Kj0L8uczf0qkiJc4NeOAEur70k.png)
Learn more about Rules Reference
https://docs.sqlfluff.com/en/stable/rules.html
![](https://framerusercontent.com/images/D5A2oMy5IMRAcqQd9AVPcUzcM.png)
Example rule: RF04
https://docs.sqlfluff.com/en/stable/rules.html#rule-RF04
![](https://framerusercontent.com/images/MwUr5gCSkFBZ1JC22uj7skqJj4.png)