Skip to content

jsx-indent wrong indend #897

Closed
Closed
@klimashkin

Description

@klimashkin

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],

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions