Skip to content

Docs: add a case to func-names#12038

Merged
aladdin-add merged 1 commit intoeslint:masterfrom
chiawendt:patch-3
Jul 31, 2019
Merged

Docs: add a case to func-names#12038
aladdin-add merged 1 commit intoeslint:masterfrom
chiawendt:patch-3

Conversation

@chiawendt
Copy link
Copy Markdown
Contributor

What is the purpose of this pull request? (put an "X" next to item)

X [ ] Documentation update

What changes did you make? (Give an overview)
Add these cases to docs:

// Both of the two functions has implied names by spec.
const cat = {
  meow: function() {}
}

const cat = {
  meow() {}
}

@eslint-deprecated eslint-deprecated Bot added the triage An ESLint team member will look at this issue soon label Jul 30, 2019
Copy link
Copy Markdown
Member

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@platinumazure platinumazure added accepted There is consensus among the team that this change meets the criteria for inclusion documentation Relates to ESLint's documentation rule Relates to ESLint's core rules and removed triage An ESLint team member will look at this issue soon labels Jul 30, 2019
Copy link
Copy Markdown
Member

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation rule Relates to ESLint's core rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants