@dry-lint/sql
v3.0.0
Published
Detect duplicate or near-duplicate SQL statements using AST parsing.
Maintainers
Readme
@dry-lint/sql
Part 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.
Install
bun add -D @dry-lint/sqlConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/sql"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
