Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

space-in-parens

- Enforce consistent spacing inside parentheses

Fixable

This rule will enforce consistency of spacing directly inside of parentheses, by disallowing or requiring one or more spaces to the right of ( and to the left of ). In either case, () will still be allowed.

What ESLint should do when it catches the rule break

Show a warning

Options

never

Rule examples

You can check them out here.