@dry-lint/typescript
v3.0.0
Published
Detect duplicate or near-duplicate TypeScript definitions using ts-morph AST parsing.
Readme
@dry-lint/typescript
Part of the dry-lint monorepo.
Extracts interfaces, types, enums, and class declarations from TypeScript source files (.ts / .tsx) so you can detect duplicate or overlapping type definitions in your TypeScript codebase.
Install
bun add -D @dry-lint/typescriptConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/typescript"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
