sqruff Configurations
Tip
Official documentation for sqruff is available at https://github.com/quarylabs/sqruff
| .sqruff | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Configuration Options
dialect: SQL dialect (BigQuery)templater: Jinja templates in SQL files are rendered before lintingmax_line_length: 80 charactersrules: All rules are enabled; list rules to skip inexclude_rules- Indentation: 2 spaces, and
JOINclauses are indented ambiguous.join: Join types must be written explicitly (e.g.INNER JOIN, notJOIN)
Files listed in .sqruffignore are skipped.
Usage
1 2 3 4 5 6 7 | |