Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

prefer-destructuring

- Require destructuring from arrays and/or objects

This rule enforces usage of destructuring instead of accessing a property through a member expression.

What ESLint should do when it catches the rule break

Show a warning

Options

enforceForRenamedProperties

Rule examples

You can check them out here.