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(eslint-plugin): [naming-convention] fix wrong member of method and property meta selectors #2856

Merged
merged 1 commit into from Dec 8, 2020

Conversation

uasi
Copy link
Contributor

@uasi uasi commented Dec 8, 2020

In #2807, the method selector was converted to a meta selector for [classMethod, objectLiteralMethod, typeMethod], but it incorrectly includes typeProperty as a member in place of typeMethod. Similarly, the property meta selector includes typeMethod in place of typeProperty. This PR fixes these meta selectors.

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @uasi!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@bradzacher bradzacher added the bug Something isn't working label Dec 8, 2020
Copy link
Member

@bradzacher bradzacher left a comment

Choose a reason for hiding this comment

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

oops! Thanks for this

@bradzacher bradzacher merged commit 9a6c362 into typescript-eslint:master Dec 8, 2020
@uasi uasi deleted the fix-meta-selectors branch December 9, 2020 02:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants