Prettier
Last updated
Was this helpful?
Last updated
Was this helpful?
Paradime provides native integration with , enabling automatic formatting of YAML files in your dbt™ project directly from the IDE. This integration helps maintain consistent code style and catch potential YAML errors early.
One-click YAML formatting through the Lint button
Built-in error detection
Native IDE integration
Customizable formatting rules
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.
While the integration works out of the box, you can customize Prettier's behavior:
Create a .prettierrc.yaml
file in your dbt™ project root directory (same location as your dbt_project.yml
)
Add your configuration:
When the integration runs Prettier on a .yml
file, it automatically:
Validates YAML syntax
Flags potential errors
Shows formatting issues
Provides error details in the output tab
Visit a complete list of configuration options.
Want to automate YAML formatting? Learn how to set up to format files before each commit.