Skip to content

Incorrect formatting for comment inside of multi-line argument list #1927

@mjbvz

Description

@mjbvz

Repo
Format the following file:

console.log(
	"a",
	// the second arg
	"b"
);

Bug
This incorrectly removes the space before the comment, resulting in:

console.log(
	"a",
// the second arg
	"b"
); 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions