Skip to content

Strange behavior with word connect #4935

@arch-mage

Description

@arch-mage

Prettier 1.14.0
Playground link

Input:

conect(host, port);
connect(host, port);
connnect(host, port);

Output:

conect(host, port);
connect(
  host,
  port
);
connnect(host, port);

Expected output:

conect(host, port);
connect(host, port); // should not be split to multiple lines
connnect(host, port);

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:javascriptIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be taken

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions