The sqlfluff utility is a linting tool for SQL files, often used with dbt to enforce SQL code standards.

Getting Started #

Prerequisites #

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration #

Using the Command Line Interface #

  1. Add the sqlfluff utilitie to your project using meltano add :

    meltano add utility sqlfluff

Next steps #

  1. Refer to the installation instructions for advanced configurations.
  2. Customize the config files to match your team’s style guide.
  3. Run meltano run sqlfluff:lint to lint your SQL files.

If you run into any issues, learn how to get help.

Settings #

The utilitie sqlfluff does not have any settings defined in its metadata. Please considering adding them by making a pull request to the YAML file that defines the settings for this utilitie.

Looking for help? #

If you're having trouble getting the sqlfluff utilitie to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the #plugins-general channel.

Found an issue on this page? #

This page is generated from a YAML file that you can contribute changes to. Edit it on GitHub!