We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
never
Using eslint-preset-airbnb, the jsx-curly-brace-presence rule breaks multi-line strings given as props, e.g.:
jsx-curly-brace-presence
<div css={` background: #009688; transition: background 0.5s; `}> Hello world! </div>
Gets transformed into
<div css=" background: #009688; transition: background 0.5s; "> Hello world! </div>
By eslint --fix, which is invalid. Multi-line strings given as props shall not be flagged as mistakes.
eslint --fix
The text was updated successfully, but these errors were encountered:
+1 from me, this definitely is a bug.
Sorry, something went wrong.
[Fix] jsx-curly-brace-presence: accept multiline template string
4c1f15e
Fixes jsx-eslint#1592
21b7edd
No branches or pull requests
Using eslint-preset-airbnb, the
jsx-curly-brace-presence
rule breaks multi-line strings given as props, e.g.:Gets transformed into
By
eslint --fix
, which is invalid. Multi-line strings given as props shall not be flagged as mistakes.The text was updated successfully, but these errors were encountered: