From e766265729c3ee1f5ef897134bc9b4cdcb3f4d37 Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Tue, 3 Nov 2026 02:31:12 +0000 Subject: [PATCH] docs(website): give the homepage SQLClean-specific copy Replace marketing lines shared with the SQLBuild homepage with wording about what SQLClean does: problem cards, the custom Rule step, the output caption, and the closing call to action. --- website/public/index.html | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/website/public/index.html b/website/public/index.html index a450ba2..43d644e 100644 --- a/website/public/index.html +++ b/website/public/index.html @@ -63,8 +63,9 @@
A SQL linter and formatter, 50× faster than sqruff.
- SQLClean flags SQL that runs but rarely does what you meant, applies safe fixes, and formats every file
- one way. Custom Rules are plain Python functions, backed by a Rust API that keeps them fast.
+ SQLClean spots SQL patterns that look right but quietly misbehave, such as = NULL or a
+ NOT IN list with a NULL, applies safe fixes, and formats every file one way.
+ Custom Rules are plain Python functions, backed by a Rust API that keeps them fast.
WHERE x = NULL runs without an error and matches no rows.
Reviewers argue about commas and casing instead of the logic.
"Use COALESCE, not IFNULL" holds until someone new misses it.
+"Use COALESCE, not IFNULL" is only a convention until a tool checks it.
Default Rules flag comparisons with NULL, NOT IN lists that contain
NULL, and ROW_NUMBER with no deterministic order. Each finding points at the
@@ -243,8 +244,8 @@
Keep them fixed
A custom Rule is a Python function over statement facts, already parsed and located for you. This team uses COALESCE instead of IFNULL to keep queries portable. The Rule reads function calls, @@ -372,7 +373,7 @@
Real output from sqlclean on small example projects, trimmed to the relevant lines.
Each panel shows actual sqlclean output on a small example project, cut down to the findings that matter.
The docs cover every command, every Rule, configuration and custom Rules.
+Browse every Rule with examples, then set up configuration, custom Rules and CI.