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

Add function expression body rule #2151

Merged
merged 3 commits into from
Jul 28, 2023
Merged

Commits on Jul 25, 2023

  1. Add experimental rule function-expression-body

    This rule rewrites function bodies only contain a `return` or `throw` expression to an expression body.
    
    Closes #2150
    paul-dingemans committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    b3fea92 View commit details
    Browse the repository at this point in the history
  2. Fix violations

    paul-dingemans committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    df45727 View commit details
    Browse the repository at this point in the history
  3. Add rule to public API

    paul-dingemans committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    98c67b9 View commit details
    Browse the repository at this point in the history