📎 Port arrow-body-style
from eslint
#5050
Labels
A-Linter
Area: linter
good first issue
Good for newcomers
L-JavaScript
Language: JavaScript and super languages
Description
Port the
arrow-body-style
rule from eslint.Suggested names:
useAbbreviatedArrowFunction
useArrowExpression
noArrowImmediateReturn
The eslint rule has options, but we don't usually implement options on the first iteration of a rule. For this task, implement the functionality that is equivalent to the default option (which would be
as-needed
).Source: https://eslint.org/docs/latest/rules/arrow-body-style
Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.
The text was updated successfully, but these errors were encountered: