Skip to content

Add support for printing optional catch binding - #2570

Merged
vjeux merged 1 commit into
prettier:masterfrom
existentialism:optional-catch-binding
Jul 31, 2017
Merged

vjeux merged 1 commit into
prettier:masterfrom
existentialism:optional-catch-binding

Conversation

@existentialism

@existentialism existentialism commented Jul 31, 2017 •

Copy link
Copy Markdown
Collaborator

Stage 3 from July TC39 meeting!

Ref: babel/proposals#7

@vjeux
vjeux merged commit 4c335ca into prettier:master Jul 31, 2017
@existentialism
existentialism deleted the optional-catch-binding branch July 31, 2017 20:42
@azz

azz commented Jul 31, 2017

Copy link
Copy Markdown
Member

I can totally see people writing eslint rules to forbid this syntax 😉

@bakkot

bakkot commented Jul 31, 2017

Copy link
Copy Markdown
Collaborator

@azz, I personally hope people writing eslint rules instead remove the caughtErrors edge-case handling from no-unused-vars.

@lock lock Bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 19, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants