SQLFluff
Learn how Paradime integrates with SQLFluff to automatically lint and format your dbt™ SQL files.
Last updated
Was this helpful?
Learn how Paradime integrates with SQLFluff to automatically lint and format your dbt™ SQL files.
Last updated
Was this helpful?
Paradime provides native integration with SQLFluff, enabling automatic linting and formatting of SQL files in your dbt™ project directly from the IDE. This integration helps maintain consistent code style and catch potential SQL issues early, with built-in support for dbt™ and Jinja templating.
One-click SQL linting through the Lint button
Built-in dbt™ templating support
Native IDE integration
Customizable linting rules
Auto-fix capabilities for common issues
Open a .sql
file in your editor
Click the Lint button in the
Review the changes made in
Syntax errors
Style violations
Formatting suggestions
If satisfied with Lint updates, your changes to your remote branch.
Configure SQLFluff by creating a .sqlfluff
file in your dbt™ project root directory:
Create a .sqlfluff
file in your dbt™ project root directory (same location as your dbt_project.yml
)
Add your configuration:
SQLFluff enforces several key formatting rules:
Consistent keyword capitalization
Required table aliasing
Maximum line length
Proper indentation
Column ordering
The integration automatically handles dbt™-specific features:
Jinja templating
ref() and source() functions
dbt™ macros
Project configurations
Visit for a complete list of configuration options.
Want to automate SQLfluff linting? Learn how to set up to automatically lint SQL files before each commit.