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

Fix: fix no-extra-parens ignores some nodes #11909

Merged
merged 4 commits into from Aug 18, 2019
Merged

Conversation

g-plane
Copy link
Member

@g-plane g-plane commented Jun 26, 2019

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

[x] Bug fix

What changes did you make? (Give an overview)
Fixes #11893 .
Fixes #11906 .

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 Jun 26, 2019
@g-plane g-plane added accepted There is consensus among the team that this change meets the criteria for inclusion bug ESLint is working incorrectly rule Relates to ESLint's core rules and removed triage An ESLint team member will look at this issue soon labels Jun 26, 2019
@g-plane g-plane marked this pull request as ready for review June 26, 2019 03:48
@mdjermanovic
Copy link
Member

I'm not sure but maybe ${(a, b)} should be an error?

`${(1, 2)}` === "2"

`${1, 2}` === "2"

@g-plane
Copy link
Member Author

g-plane commented Jun 26, 2019

This shouldn't be reported.

@kaicataldo
Copy link
Member

@g-plane For the sake of discussion, can you share why you believe that shouldn’t be reported?

@g-plane
Copy link
Member Author

g-plane commented Jun 26, 2019

@kaicataldo Oh sorry, I misread it since I read it on my phone at that time.

Copy link
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!

Copy link
Member

@mysticatea mysticatea left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@g-plane Would you resolve conflicts?

@g-plane
Copy link
Member Author

g-plane commented Jul 21, 2019

Done.

Copy link
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.

LGTM, thanks!

@platinumazure platinumazure merged commit 4cb7877 into master Aug 18, 2019
@platinumazure
Copy link
Member

Merged. Thanks for contributing and sorry for the delay!

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 bug ESLint is working incorrectly rule Relates to ESLint's core rules
Projects
None yet
5 participants