Why is this an issue?
Shared coding conventions allow teams to collaborate effectively. This rule raises an issue when the use of parentheses with an arrow function does
not conform to the configured requirements.
Noncompliant code example
With the configured defaults forbidding parentheses
var foo = (a) => { /* ... */ }; // Noncompliant; remove parens from arg
var bar = (a, b) => { return 0; }; // Noncompliant; remove curly braces from body
Compliant solution
var foo = a => { /* ... */ };
var bar = (a, b) => 0;