SQLFluff
Last updated
Last updated
is a linter for SQL.
You can enable the SQLFluff linter with:
SQLFluff will be auto-enabled if a .sqlfluff
config file is present.
SQLFluff supports the following config files:
.sqlfluff
You can move these files to .trunk/configs
and trunk check
will still find them. See for more info. Trunk Code Quality provides a default .sqlfluff
if your project does not already have one.
Sqlfluff is only configured as a linter by default because its formatting capabilities are limited. To turn sqlfluff formatting on, enable its subcommand:
SQLFluff Trunk Code Quality
Trunk Code Quality's