fred/script/lib/squawk.toml
Finn Evers c94b587e1a
squawk: Specify PostgreSQL version in config (#28094)
This PR adds the PostgreSQL version to the squawk config, see
https://squawkhq.com/docs/cli#specifying-postgres-version for reference.

The specified version matches the PostgreSQL version in the compose-file


43cb925a59/compose.yml (L3)

and prevents false positives like
https://github.com/zed-industries/zed/pull/28090#issuecomment-2778871346
from happening (tested it locally with that commit).

Release Notes:

- N/A
2025-04-04 09:32:30 -06:00

12 lines
269 B
TOML

excluded_rules = [
# We use `serial` already, no point changing now.
"prefer-identity",
# We store timestamps in UTC, so we don't care about the timezone.
"prefer-timestamptz",
"prefer-big-int",
"prefer-bigint-over-int",
]
pg_version = "15.0"