-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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: Optionally allow underscores in member names #11972
Fix: Optionally allow underscores in member names #11972
Conversation
Hi @eaviles, thanks for the PR! Hmm... This does seem like a bug to me, but I'd like to get opinions from more team members. |
So sorry for the delay here. I agree that this looks like a bug. Marking as accepted. @eaviles Are you able and still willing to fix the merge conflict? |
Hi @kaicataldo thanks for the review. Yeah I’m still able and willing, I’ll take care of the merge conflict ASAP! |
Friendly ping :) |
Ashamed pong 🙈 Taking care of this ASAP! |
No worries! We appreciate you taking the time to contribute. Let us know if there's anything we can do to help! |
@eaviles Just following up to see if you're still planning on updating this? |
@eaviles one last check to see if you’re still working on this? |
@kaicataldo, @nzakas: I just resolved the conflict. Waiting for the checks to complete. Ready to follow up if needed ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Non-blocker, it might be nice to add a test with a class method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@kaicataldo, @nzakas, @mdjermanovic, @kaicataldo: trying to follow up… what's next? I can't merge this myself so just wondering about the procedure. |
@mdjermanovic are you ok with merging without further changes (unclear from your comment). |
Yes, I'm ok with merging this without further changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Sorry again for the initial delay in reviewing this, and we appreciate you sticking with it :)
Thanks for contributing to ESLint. |
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[X] 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)
I included the check to see if the identifier is allowed when validating member names in the no-underscore-dangle rule.
Is there anything you'd like reviewers to focus on?
Not sure if ignoring the "allow" option with member names was the original behavior.