Closed ndhoule closed 8 years ago
This rule requires a yield statement within a generator function and warns you if you don't have one. Basically prevents useless generators.
http://eslint.org/docs/rules/require-yield.html
I don't think we should enable this, since koa requires generators always. (even when you don't use yield)
Ah yeah, fair enough.
This rule requires a yield statement within a generator function and warns you if you don't have one. Basically prevents useless generators.
http://eslint.org/docs/rules/require-yield.html