Skip to content

📎 Port arrow-body-style from eslint #5050

@dyc3

Description

@dyc3

Description

Port the arrow-body-style rule from eslint.

Suggested names:

  • useConsistentArrowReturn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions