Skip to content

Add escape hatch #120

@vjeux

Description

@vjeux

prettier at this point is still outputting invalid JavaScript or badly formatted output in many cases. This will go down as time goes but in the meantime, it would be great to be able to disable it for just an expression.

Proposal:

// prettier-ignore-next-block
function a() { 
  iCanDoWhateverIdent
    (a, b,); }

and prettier will keep the next AST node as is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions