Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Make only-arrow-functions allow generator functions #1591

Merged
merged 1 commit into from
Oct 4, 2016

Conversation

andy-hanson
Copy link
Contributor

@andy-hanson andy-hanson commented Oct 2, 2016

Currently the only way to write a generator function is with the function keyword, so it makes sense to allow this without requiring a flag.
This also appears to be the behavior of eslint.

@palantirtech
Copy link
Member

Thanks for your interest in palantir/tslint, @andy-hanson! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @andy-hanson!

@adidahiya adidahiya merged commit 439d740 into palantir:master Oct 4, 2016
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