[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor
Description Overview
The curly braces are unnecessary here and should be reported by the rule. If the single quote is replaced with any other character, the rule does trigger.
Is there an existing issue for this?
Description Overview
The curly braces are unnecessary here and should be reported by the rule. If the single quote is replaced with any other character, the rule does trigger.
Expected Behavior
Report an error with a suggested fix to
eslint-plugin-react version
4.3.1
eslint version
8.57.0
node version
20.14.12