Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-plusplus

- Disallow the unary operators ++ and --

This rule disallows the unary operators ++ and --.

What ESLint should do when it catches the rule break

Show a warning

Options

allowForLoopAfterthoughts

Allows unary operators ++ and -- in the afterthought (final expression) of a for loop.

Rule examples

You can check them out here.