-
-
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
New Rule Proposal: jsx-indent #342
Comments
I would love to see this!, I think it should work just as the core indentation does, but for JSX lines. Hopefully it shouldn't be two hard to implement. |
👍 |
Changelog says "Add jsx-intent rule", so the rule seems to be named "jsx-intent"? Here you talk about "jsx-indent"? I'm not native in english but intent is something else than indent in my vocabulary... The eslint rule for JS is called "indent". |
Ok, I can see now that the rule is actually called "jsx-indent", perhaps just a typo in the changelog then... |
Yeah, it is a typo in the changelog :| |
Like the
indent
rule from the core but for jsx lines too as right now they are being ignored.The following would be considered as an error:
The following would not be considered as an error:
The text was updated successfully, but these errors were encountered: