Skip to content

Enable function expressions again#258

Merged
Mrtenz merged 2 commits intomainfrom
mrtenz/enable-function-expressions
Nov 17, 2022
Merged

Enable function expressions again#258
Mrtenz merged 2 commits intomainfrom
mrtenz/enable-function-expressions

Conversation

@Mrtenz
Copy link
Copy Markdown
Member

@Mrtenz Mrtenz commented Nov 17, 2022

The FunctionExpression selector apparently applies to class methods too, so the following would result in an error:

class Foo {
  bar() { }
}

I've removed this from the no-restricted-syntax rule to allow class methods again.

@Mrtenz Mrtenz requested a review from a team as a code owner November 17, 2022 12:40
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mrtenz Mrtenz force-pushed the mrtenz/enable-function-expressions branch from 400b9aa to 8eabff1 Compare November 17, 2022 13:44
@Mrtenz Mrtenz merged commit 2e9c268 into main Nov 17, 2022
@Mrtenz Mrtenz deleted the mrtenz/enable-function-expressions branch November 17, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants