SQLFluff.
Lint SQL in its actual dialect
Configure the database dialect and templater before enabling rules. Check parse errors, ambiguous references and layout against representative queries.
SQL
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedSQLFluff organizes policy into named rules including layout, references and structure. The selected dialect and rules scope each run.
Measurement
VerifiedThe CLI documents linting a SQL file, listing available dialects and distinguishing lint from fix.
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Can a change trigger a useful check? Contribute evidence ↗
Getting started
UnknownNo reviewed evidence is recorded for this dimension.
Can a newcomer complete a first run? Contribute evidence ↗
Real-world adoption
VerifiedCodeRabbit runs SQLFluff on changed SQL with repository configuration or a documented fallback ruleset. Its Chill fallback checks NULL comparisons and set operations.
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
sqlfluff lint .
Agent prompt
Use SQLFluff in this repository to meet this standard: Lint SQL in its actual dialect. Configure the database dialect and templater before enabling rules. Check parse errors, ambiguous references and layout against representative queries. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.