Drizzle: no update or delete without where, raw SQL only at paths the settings allow, and migrations that match the schema. It requires javascript.
| Check |
Stage |
Level |
What it does |
drizzle/stale-migrations |
push |
recommended |
Runs drizzle-kit generate and fails when it creates a migration. |
| Setting |
What it sets |
drizzle.client_names |
The Drizzle client identifiers checked for update and delete operations without a where clause. |
gspot selects it in a scope with dependencies drizzle-orm.
| Rule file |
Installed when |
.gspot/configurations/library/drizzle/rules/DRIZZLE.md |
The repository has dependencies pg, postgres. |
| Tool |
Version |
| eslint-plugin-drizzle |
0.2.3 |
| drizzle-kit |
Any |