warkanum 7fb76bae3d feat(lint): add linter rules for migration and naming conventions
* Implement migration safety rules:
  - MIG001: Warn on CREATE INDEX without CONCURRENT.
  - MIG002: Warn on ALTER TABLE ADD COLUMN NOT NULL without DEFAULT.
  - MIG003: Warn on ALTER TABLE ADD CONSTRAINT without NOT VALID.
* Implement naming conventions rules:
  - NAM001: Warn on non-snake_case table names.
  - NAM002: Warn on non-snake_case column names in CREATE TABLE.
  - NAM003: Warn on non-snake_case function names.
* Add test fixtures for all new rules.
2026-06-27 22:15:02 +02:00
2026-06-23 16:59:50 +02:00
2026-06-23 16:59:50 +02:00
2026-06-23 16:59:50 +02:00
2026-06-23 11:50:55 +00:00
2026-06-23 16:59:50 +02:00
2026-06-23 16:59:50 +02:00
2026-06-23 11:50:55 +00:00

PgTidy

A PostgreSQL-focused linter and formatter for enforcing consistent SQL style, detecting PostgreSQL-specific issues, and formatting migrations, schemas, functions, procedures, triggers, and related database code.

S
Description
A PostgreSQL-focused linter and formatter for enforcing consistent SQL style, detecting PostgreSQL-specific issues, and formatting migrations, schemas, functions, procedures, triggers, and related database code.
Readme MIT
716 KiB
v0.0.8
Latest
2026-09-10 13:27:41 +00:00
Languages
Go 89.2%
Kotlin 5%
NSIS 2.6%
TypeScript 1.3%
Shell 1%
Other 0.9%