@dry-lint/sqlPart of the dry-lint monorepo.
Extracts table schemas, columns, and constraints from SQL DDL files (.sql) so you can detect duplicate or redundant table definitions, indexes, or other database structures.
bun add -D @dry-lint/sql
Add it to your .drylintrc.json:
{
  "plugins": ["@dry-lint/sql"]
}
Run detection with the CLI. This plugin auto-registers itself.
MIT — see LICENSE.