@dry-lint/prop-types
Part of the dry-lint monorepo.
Extracts prop type definitions from React PropTypes declarations (.js
/ .jsx
) so you can detect duplicate or overlapping component prop shapes across your React codebase.
bun add -D @dry-lint/prop-types
Add it to your .drylintrc.json
:
{
"plugins": ["@dry-lint/prop-types"]
}
Run detection with the CLI. This plugin auto-registers itself.
MIT — see LICENSE.