Closed
Description
Is there an existing issue for this?
- I have searched the existing issues and my issue is unique
- My issue appears in the command-line and not only in the text editor
Description Overview
Imagine you have a prop (e.g. isOpen
), you want to set the value as firstCondition === true && anotherCondition === true
. Currently the plugin report wrongly this kind of code which should be valid.
Expected Behavior
I expect to not throw
eslint-plugin-react version
7.34.1
eslint version
8.57.0
node version
18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment