Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📎 Port arrow-body-style from eslint #5050

Open
dyc3 opened this issue Feb 6, 2025 · 0 comments
Open

📎 Port arrow-body-style from eslint #5050

dyc3 opened this issue Feb 6, 2025 · 0 comments
Labels
A-Linter Area: linter good first issue Good for newcomers L-JavaScript Language: JavaScript and super languages

Comments

@dyc3
Copy link
Contributor

dyc3 commented Feb 6, 2025

Description

Port the arrow-body-style rule from eslint.

Suggested names:

  • useAbbreviatedArrowFunction
  • useArrowExpression
  • noArrowImmediateReturn
  • open to suggestions

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.

@dyc3 dyc3 added A-Linter Area: linter good first issue Good for newcomers L-JavaScript Language: JavaScript and super languages labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter good first issue Good for newcomers L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

No branches or pull requests

1 participant