-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add escape hatch #120
Copy link
Copy link
Closed
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.