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
jsx-indent
I have this code:
it('passes', () => assertPasses( foo('bar'), ( <div> <span /> <span /> <span /> <span /> </div> ), 'baz', ));
With these settings:
'react/jsx-indent': ['error', 2],
I get this warning: Expected indentation of 6 space characters but found 8
Expected indentation of 6 space characters but found 8
This code passes:
it('passes', () => assertPasses( foo('bar'), (<div> <span /> <span /> <span /> <span /> </div>), 'baz', ));
I don't mind if the latter example passes - but the former example should be correct also.
The text was updated successfully, but these errors were encountered:
b70cc33
Fix jsx-indent in multi-line function calls (fixes #895)
1e1c5c6
Thanks!
Sorry, something went wrong.
No branches or pull requests
I have this code:
With these settings:
I get this warning:
Expected indentation of 6 space characters but found 8
This code passes:
I don't mind if the latter example passes - but the former example should be correct also.
The text was updated successfully, but these errors were encountered: