Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

space-before-function-paren

- Enforce consistent spacing before function definition opening parenthesis

Fixable

This rule aims to enforce consistent spacing before function parentheses and as such, will warn whenever whitespace doesn’t match the preferences specified.

What ESLint should do when it catches the rule break

Show a warning

Options

always

Rule examples

You can check them out here.