Skip to content

Docs: Document the "correct" way to build an array with values#13246

Merged
kaicataldo merged 2 commits intoeslint:masterfrom
edg2s:patch-1
May 20, 2020
Merged

Docs: Document the "correct" way to build an array with values#13246
kaicataldo merged 2 commits intoeslint:masterfrom
edg2s:patch-1

Conversation

@edg2s
Copy link
Copy Markdown
Contributor

@edg2s edg2s commented May 1, 2020

Prerequisites checklist

  • I have read the contributing guidelines.
  • The team has reached consensus on the changes proposed in this pull request. If not, I understand that the evaluation process will begin with this pull request and won't be merged until the team has reached consensus.

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

[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Added an example to counter on the "incorrect" styles.

Is there anything you'd like reviewers to focus on?

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

@kaicataldo kaicataldo left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! One small thing, but otherwise this LGTM.

Comment thread docs/rules/no-array-constructor.md Outdated
Copy link
Copy Markdown
Member

@anikethsaha anikethsaha left a comment

Choose a reason for hiding this comment

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

commit message has some formatting issue. You can refer the commit message convention

@edg2s edg2s changed the title Document the "correct" way to build an array with values Docs: Document the "correct" way to build an array with values May 5, 2020
Copy link
Copy Markdown
Member

@kaicataldo kaicataldo left a comment

Choose a reason for hiding this comment

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

This LGTM, though it looks like I'm unable to rerun the failed CI run in macOS. Is anyone else able to do so?

@kaicataldo kaicataldo added documentation Relates to ESLint's documentation and removed triage An ESLint team member will look at this issue soon labels May 19, 2020
Copy link
Copy Markdown
Member

@yeonjuan yeonjuan 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!

@kaicataldo kaicataldo merged commit 0891379 into eslint:master May 20, 2020
@edg2s edg2s deleted the patch-1 branch May 20, 2020 17:34
@eslint-deprecated eslint-deprecated Bot locked and limited conversation to collaborators Nov 17, 2020
@eslint-deprecated eslint-deprecated Bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants