Skip to content
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

jsx-indent wrong indend #897

Closed
klimashkin opened this issue Oct 9, 2016 · 0 comments
Closed

jsx-indent wrong indend #897

klimashkin opened this issue Oct 9, 2016 · 0 comments
Labels

Comments

@klimashkin
Copy link

klimashkin commented Oct 9, 2016

After updating from 6.3.0 to 6.4.0 this code generates error:
screen shot 2016-10-09 at 3 27 42 pm
react/jsx-indent Expected indentation of 8 space characters but found 6

But if I move underlined div, own eslint indent rule starts showing error:
screen shot 2016-10-09 at 3 31 09 pm
indent Expected indentation of 6 spaces but found 8

Rules config:

    'indent': [2, 2, { 'SwitchCase': 1, 'VariableDeclarator': 2 }],
    'react/jsx-indent': [2, 2],
    'react/jsx-indent-props': [0, 2],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants