Skip to content

jsx-one-expression-per-line with CRLF on Windows #1893

Closed
@luissmg

Description

@luissmg

The rule always triggers, even when I have an expression per line, as the rule expects.

imagem

Then I realized that I am on Windows and the line break is done with a \r\n(CRLF). What I did was to change it to what Linux and OSX do and make the line breack as \n (LF). The plugin then works as expected.

Is it supposed to work only with that type of line break?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions