Skip to content

Placing operators at the beginning of lines #3806

@599316527

Description

@599316527

Prettier 1.10.2
Playground link

# Options (if any):
--print-width=22
--tab-width=4

Input:

var a = '123354535435' + '2342423153';

Output:

var a =
    "123354535435" +
    "2342423153";

Expected behavior:

var a
    = "123354535435"
    + "2342423153";

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:binary expressionslang:javascriptIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!status:needs discussionIssues needing discussion and a decision to be made before action can be taken

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions