sqlfluff/sqlfluff
SQLFluff is a 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. To get started, install the package and run sqlfluff lint or sqlfluff fix.
https://github.com/sqlfluff/sqlfluff?utm_source=tldrnewsletter