Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-sparse-arrays

- Disallow sparse arrays

Recommended

This rule disallows sparse array literals which have “holes” where commas are not preceded by elements. It does not apply to a trailing comma following the last element.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.