You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a test for this and it seems to pass? Or maybe there is some other way to reproduce it? 🤷♂️ Let me know if you'd like me to create a PR. I didn't see a similar test present.
I have:
import PropTypes from 'prop-types';
...
// eslint-disable-next-line react/boolean-prop-naming
open: PropTypes.bool.isRequired,
But if I do
import { bool } from 'prop-types';
...
open: bool.isRequired,
instead then I don't need to ignore the rule & the rule is not applied.
The rule should be applied in the case of a named export of bool from prop-types.
The text was updated successfully, but these errors were encountered: