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 upJSX indentation #358
Comments
This comment has been minimized.
This comment has been minimized.
|
This should probably be moved to eslint-config-standard-react. Taking a look at it's eslintrc.json, I don't see the jsx-indent-props rule enabled, which I think is what you're looking for (or maybe it some other rule). |
This comment has been minimized.
This comment has been minimized.
|
Hmm, it isn't |
This comment has been minimized.
This comment has been minimized.
|
There's currently a proposal for the rule you want: yannickcr/eslint-plugin-react#342 Maybe you can weigh in on that issue? |
feross
added
feature request
blocked
labels
Dec 20, 2015
This comment has been minimized.
This comment has been minimized.
|
Thanks! |
feross
removed
the
blocked
label
Dec 29, 2015
This comment has been minimized.
This comment has been minimized.
|
This is implemented in |
feross
added
the
v6
label
Dec 29, 2015
This comment has been minimized.
This comment has been minimized.
|
Awesome news! |
dignifiedquire
added a commit
to dignifiedquire/eslint-config-standard-react
that referenced
this issue
Feb 2, 2016
feross
closed this
in
standard/eslint-config-standard-react#15
Feb 4, 2016
This comment has been minimized.
This comment has been minimized.
|
This is released in eslint-config-standard-react 2.0.0. |
LinusU commentedDec 8, 2015
Currently it seems like standard doesn't lint the indentation on JSX files. For example the following file lints without issues: