Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

prefer-spread

- Require spread operators instead of .apply()

Fixable

This rule is aimed to flag usage of Function.prototype.apply() in situations where the spread operator could be used instead.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.