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: Plugins should always use the same reference #91

Merged
merged 1 commit into from
Sep 12, 2022
Merged

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Sep 8, 2022

When loading a plugin the first time, we should create a normalized plugin object and then cache it to use later so every reference to the same plugin is represented by the same normalized plugin reference.

Refs eslint/eslint#16277
Closes #89
Closes #90

@aladdin-add @coderaiser

When loading a plugin the first time, we should create a normalized
plugin object and then cache it to use later so every reference to the
same plugin is represented by the same normalized plugin reference.

Refs eslint/eslint#16277
Closes #89
Closes #90
Copy link
Member

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@btmills btmills merged commit 2a2bef1 into main Sep 12, 2022
@btmills btmills deleted the plugin-dupe-error branch September 12, 2022 03:46
btmills added a commit to eslint/eslint that referenced this pull request Sep 12, 2022
`@eslint/eslintrc@1.3.2` [1] contains
eslint/eslintrc#91, which together with this
commit will fix #16277.

[1]: https://github.com/eslint/eslintrc/releases/tag/v1.3.2
btmills added a commit to eslint/eslint that referenced this pull request Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants