The Wayback Machine - https://web.archive.org/web/20220622080334/https://github.com/lodash/lodash/pull/4416
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

lint files #4416

Merged
merged 3 commits into from Aug 17, 2019
Merged

lint files #4416

merged 3 commits into from Aug 17, 2019

Conversation

phapdinh
Copy link
Contributor

@phapdinh phapdinh commented Aug 17, 2019

This fixes issue issue #4415

@jsf-clabot
Copy link

@jsf-clabot jsf-clabot commented Aug 17, 2019

CLA assistant check
All committers have signed the CLA.

.eslintrc.js Outdated
@@ -83,7 +83,7 @@ module.exports = {
'requireReturnForObjectLiteral': false
}],

'arrow-parens': ['error', 'always'],
// 'arrow-parens': ['error', 'always'],
Copy link
Contributor Author

@phapdinh phapdinh Aug 17, 2019

Choose a reason for hiding this comment

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

I commented out this rule because sometimes arrow functions if they have only one parameter don't need parens

Copy link
Member

@jdalton jdalton Aug 17, 2019

Choose a reason for hiding this comment

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

It's fine to enable. I want to be consistent and always use parens.

Copy link
Contributor Author

@phapdinh phapdinh Aug 17, 2019

Choose a reason for hiding this comment

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

@jdalton I have added back this rule and now npm run style passes

@jdalton jdalton mentioned this pull request Aug 17, 2019
@jdalton jdalton added the bug label Aug 17, 2019
@jdalton
Copy link
Member

@jdalton jdalton commented Aug 17, 2019

Thank you @phapdinh!

@jdalton jdalton merged commit 15e1557 into lodash:master Aug 17, 2019
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants