@dry-lint/prop-types
v3.0.0
Published
Detect duplicate or near-duplicate PropTypes definitions in React components.
Maintainers
Readme
@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.
Install
bun add -D @dry-lint/prop-typesConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/prop-types"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
