-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
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
jsx + eslint --fix not properly spacing text #2484
Comments
ljharb
pushed a commit
to toshi-toma/eslint-plugin-react
that referenced
this issue
Jan 16, 2020
ljharb
pushed a commit
to toshi-toma/eslint-plugin-react
that referenced
this issue
Jan 28, 2020
ljharb
pushed a commit
to toshi-toma/eslint-plugin-react
that referenced
this issue
Feb 1, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My application is a node app that server side renders React components to strings. Whenever I run
eslint --fix
, it fixes spacing correctly except for plain text in jsx. For example, after running eslint --fix here is what some of my jsx looks like:html entities are spaced just fine while text always has no indentation. This happens almost everywhere in my repo and even my other repos. Please help.
Node version: 10.16.3 or 12.13.0
yarn version: 1.17.3 or 1.19.1
package.json:
Additional eslint config:
The text was updated successfully, but these errors were encountered: