Thanks to visit codestin.com
Credit goes to github.com

Skip to content

parenthesize arrow function arguments consistently #81

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

Merged
merged 2 commits into from
Jan 11, 2017
Merged

parenthesize arrow function arguments consistently #81

merged 2 commits into from
Jan 11, 2017

Conversation

vsemozhetbyt
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt commented Jan 9, 2017

(Here comes a bunch of PRs after a code fragments mass test with ESLint checks and Node.js runnings.)

@@ -373,7 +373,7 @@ code eligible for refactoring.
**Bad:**
```javascript
function showDeveloperList(developers) {
developers.forEach(developers => {
developers.forEach((developers) => {
Copy link
Owner

Choose a reason for hiding this comment

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

There was another PR about this that got lost in the fray, can we change this to developers.forEach((developer) =>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems to be fixed in the second commit.

@ryanmcdermott ryanmcdermott merged commit 0c4fa28 into ryanmcdermott:master Jan 11, 2017
@ryanmcdermott
Copy link
Owner

Thank you again!

@vsemozhetbyt vsemozhetbyt deleted the arrow-parens branch January 11, 2017 09:41
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