Skip to content

jsx-indent wrong ternary indend #901

Closed
@klimashkin

Description

@klimashkin

Hi again!
After updating from 6.3.0 to 6.4.0/6.4.1 this code generates error:
screen shot 2016-10-10 at 3 52 59 pm

And this:
screen shot 2016-10-10 at 3 54 14 pm

It wants one more indent before second ternary expression

Activity

klimashkin

klimashkin commented on Oct 10, 2016

@klimashkin
Author

Rules config the same as: #897

chentsulin

chentsulin commented on Nov 15, 2016

@chentsulin
Contributor

It seems have a regression between v6.6.0 and v6.7.0. Lint failed again on v6.7.0, but passed with v6.6.0.

Could we reopen this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @klimashkin@chentsulin

        Issue actions

          jsx-indent wrong ternary indend · Issue #901 · jsx-eslint/eslint-plugin-react