'Missing yield in generator' should not be an error
jeswin opened this issue · comments
Jeswin commented
Generators without a yield is valid JS; the older version of esprima-fb incorrectly flags this as an error. Upgrading to newer esprima-fb solves the issue.
Similar issue from facebook/react facebook/react#1475
Andres Suarez commented
We're now using acorn - this isn't a problem anymore