Closed
Description
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.