Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

generator-star-spacing

- Enforce consistent spacing around * operators in generator functions

Fixable

This rule aims to enforce spacing around the * of generator functions.

What ESLint should do when it catches the rule break

Show a warning

Options

before

Requires spacing between the * and the function keyword.

after

Requires spacing between the * and the function name.

Rule examples

You can check them out here.