Template string with special character are getting inappropriately autofix to quoted string #1479
Closed
Description
opened on Oct 16, 2017
<input placeholder={`line1\nline2`} ></input>
gets autofix into
<input placeholder="line1\nline2" />
which treats the \n
literally.
Versions:
"eslint-config-airbnb": "^16.0.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0"
Activity