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 @@

Clean SQL, every time

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.

@@ -103,11 +104,11 @@

Clean SQL, every time

-

Why SQL stays messy

+

Where SQL review goes wrong

-

Valid isn't the same as correct

+

Some bugs are right there in the text

WHERE x = NULL runs without an error and matches no rows.

@@ -115,8 +116,8 @@

Style eats review time

Reviewers argue about commas and casing instead of the logic.

-

Team rules live in people's heads

-

"Use COALESCE, not IFNULL" holds until someone new misses it.

+

House style is unwritten

+

"Use COALESCE, not IFNULL" is only a convention until a tool checks it.

Autofixes you can't trust

@@ -138,7 +139,7 @@

From a messy query to a clean one

01 · Catch common mistakes -

Flag SQL that runs but is easy to get wrong

+

Flag the SQL traps reviewers miss

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 @@

Stop arguing about layout

Keep them fixed

- 04 · Make lessons permanent -

Turn review comments into Rules

+ 04 · Encode your house style +

Write your conventions as Rules

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 @@

Before every commit and in CI

…
-

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.

@@ -438,7 +439,7 @@

Start in a minute

Make clean SQL the default

-

The docs cover every command, every Rule, configuration and custom Rules.

+

Browse every Rule with examples, then set up configuration, custom Rules and CI.