Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

require-yield

- Require generator functions to contain yield

Recommended

This rule generates warnings for generator functions that do not have the yield keyword.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.