Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#961 support flow variance syntax #980

Merged

Conversation

ajhyndman
Copy link
Contributor

Fixes #961

It looks like getKeyValue was naively grabbing the first token for 'ObjectTypeProperty', which was sometimes a '+'. There's probably a more robust solution, but I've just opted to account for '+' and '-' as possible tokens that might be encountered.

@yannickcr
Copy link
Member

LGTM, can you rebase your branch and resolve the conflicts? Then I think we should be good to go.

@ajhyndman ajhyndman force-pushed the #961-support-flow-variance-syntax branch from 30b6e00 to 754022c Compare December 4, 2016 09:06
@ajhyndman
Copy link
Contributor Author

Cool, updated.

@yannickcr yannickcr merged commit a3493cc into jsx-eslint:master Dec 4, 2016
@yannickcr
Copy link
Member

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants