Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Conversation

@soda0289
Copy link
Member

There are rules in eslint that expect FunctionExpression nodes to contain a body. We should not produce an invalid estree node if we use the estree node types.

More information here:
#92 (comment)

@eslintbot
Copy link

LGTM

@soda0289 soda0289 force-pushed the fix-empty-body-functions branch from edb6904 to 53f409f Compare February 20, 2017 02:01
@eslintbot
Copy link

LGTM

@soda0289
Copy link
Member Author

Need to add more tests if we go this route

There are rules in eslint that expect FunctionExpression
nodes to contain a body. We should not produce an invalid
estree node if we use the estree node types.
@soda0289 soda0289 force-pushed the fix-empty-body-functions branch from 53f409f to 4069140 Compare February 20, 2017 20:26
@eslintbot
Copy link

LGTM

@JamesHenry
Copy link
Member

I'm so sorry it's taken so long to address these PRs @soda0289, so happy to have you on the team now! Let's take stock as soon as we merge in all the breaking changes and release v3!

@soda0289 soda0289 closed this May 6, 2017
@soda0289 soda0289 deleted the fix-empty-body-functions branch May 23, 2017 13:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants