Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRequire JSX attributes and logical expressions to be indented correctly (react/jsx-indent) #1370
Comments
feross
added
enhancement
ecosystem impact
accepted
labels
Aug 15, 2019
This comment has been minimized.
This comment has been minimized.
|
Might need to revert this if there's some cases I haven't thought of, but I'm going to ship it and wait for the complaints (if any). I want to get all these JSX rules out at the same time. Shipping in |
feross
closed this
in
ff4ef49
Aug 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
feross commentedAug 15, 2019
•
edited
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent.md
We already have this rule enabled, but I want to add more options to the rule.
Before:
After:
This is now considered a warning (wasn't before):
Should be:
This is now considered a warning (wasn't before):
Should be: