Skip to content

odd output for template literals #786

@chrisdrackett

Description

@chrisdrackett

given the following code:

insertRule(`*, *:before, *:after {
  box-sizing: inherit;
}`)

I get the following output:

insertRule(
  `*, *:before, *:after {
  box-sizing: inherit;
}`,
)

The formatting of the last two lines seems odd to me. I'm not sure why a comma is added or why the line with the closing bracket is on the same indentation as the closing parenthesis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked-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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions