existing quotes rule jsx-double only makes sure you don't type attr='value', but doesn't prevent attr={'value'}.
I want enable my team to catch inconsistent quotes in JSX and only use curly braces for string values when they have to be interpreted or concatenated, such as using string templates.
existing quotes rule
jsx-double
only makes sure you don't typeattr='value'
, but doesn't preventattr={'value'}
.I want enable my team to catch inconsistent quotes in JSX and only use curly braces for string values when they have to be interpreted or concatenated, such as using string templates.
No error
Error