Skip to content

sql

SQL files: layout and style in your dialect, and at level all, comments and file length.

Check Stage Level What it does
sql/sqlfluff commit recommended Lints every SQL file for layout, capitalization, aliasing, and ambiguous references, in the dialect the database configuration names.
Setting What it sets
limits.file_lines The most lines one file may have, not counting blank lines and comment-only lines.
tools.sqlfluff.dialect The SQL dialect that SQLFluff parses, such as postgres. The postgres configuration sets it.

gspot selects it in a scope with file extensions .sql, .pgsql, .psql. A configuration that requires it selects it too: postgres.

Rule file Installed when
.gspot/configurations/language/sql/rules/SQL.md Always
Tool Version
sqlfluff 4.3.0

gspot writes .gspot/configurations/language/sql/sqlfluff.cfg.