Update lint

This commit is contained in:
Kalle 2026-07-28 18:23:58 +03:00
parent a6ddd75772
commit d5a3d9f4fc

View File

@ -4,7 +4,13 @@ language js
// exercises the same write paths the app does. A raw write is only allowed when
// no production write reaches the state at all, and then it has to say so:
// `// biome-ignore lint/plugin: <why no production write can do this>`
`db.$method($_)` as $write where {
`$connection.$method($_)` as $write where {
// `trx` too, so that a write inside a test's own `db.transaction()` block is
// caught the same way the ones on the singleton are
$connection <: or {
`db`,
`trx`
},
$method <: or {
`insertInto`,
`updateTable`,