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

Add an ESLint rule to prevent private methods for now. #620

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

jonathanKingston
Copy link
Contributor

@jonathanKingston jonathanKingston commented Jul 10, 2023

Rule to prevent the breakage being fixed in #617 that has happened a few times now.

I looked into other setups like https://github.com/amilajack/eslint-plugin-compat but they only appear to cover DOM APIs and have some concerning shortcomings so I just concentrated on the issue at hand here.

Prior to #617 the lint rule looks like this:

image

@jonathanKingston jonathanKingston merged commit 50eb0d7 into main Jul 10, 2023
@jonathanKingston jonathanKingston deleted the jkt/preventPrivateMethods branch July 10, 2023 18:40
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