@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.
bun add -D @dry-lint/typescript
Add it to your .drylintrc.json
:
{
"plugins": ["@dry-lint/typescript"]
}
Run detection with the CLI. This plugin auto-registers itself.
MIT — see LICENSE.