-
-
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
Could not auto fix react/jsx-indent problem #628
Comments
Most rules in general don't have autofixers, so that's not a surprise. This seems like it might be a bug with components referenced off an object (ie, with a dot). |
Yes, but in https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent-props.md it says that could be fixable. Wich confuse me |
Ah, good point. @rrandom can you try the same example but use English (specifically, ASCII) text as the element contents? I'm wondering if it's a unicode code point issue (versus code units) |
@ljharb Sadly, the same. Could not fix.
even with single file
|
It is the |
This may be fixed now... |
144:17 error Expected indentation of 14 space characters but found 16 react/jsx-indent
code:
and:
.eslintrc
package.json:
All package related to eslint in
devDependencies
in package.json:After running
npm run lintf
, the error shows and the code stays the same.--fix
dit not auto fixreact/jsx-indent
.Any Ideas?
The text was updated successfully, but these errors were encountered: