Rule: arrow-parens

Requires parentheses around the parameters of arrow function definitions.

Rationale

Maintains stylistic consistency with other arrow function definitions.

Notes:
Has Fixer

Config

If ban-single-arg-parens is specified, then arrow functions with one parameter must not have parentheses if removing them is allowed by TypeScript.

Config examples
"arrow-parens": true
"arrow-parens": [true, "ban-single-arg-parens"]
Schema
{
  "type": "string",
  "enum": [
    "ban-single-arg-parens"
  ]
}