Skip to content

chore(compat) add eslint-plugin-import extensions #3836

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

Merged
merged 2 commits into from
Dec 3, 2021

Conversation

Larry1123
Copy link
Contributor

What's the problem this PR addresses?

https://discord.com/channels/226791405589233664/226793713722982400/915944163747446794
eslint-plugin-import counts yarn as a broken package manager and does not want to fix their dependency declarations this may change once npm also brakes later.

import-js/eslint-plugin-import#2283
import-js/eslint-plugin-import#1434

...

How did you fix it?

Added eslint-import-resolver-node, eslint-import-resolver-typescript, eslint-import-resolver-webpack, and @typescript-eslint/parser as optional peer dependencies in plugin-compat.

...

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz changed the title feat(compat) add eslint-plugin-import compat chore(compat) add eslint-plugin-import extensions Dec 2, 2021
merceyz
merceyz previously approved these changes Dec 2, 2021
@merceyz merceyz enabled auto-merge (squash) December 2, 2021 14:45
auto-merge was automatically disabled December 2, 2021 17:32

Head branch was pushed to by a user without write access

@Larry1123
Copy link
Contributor Author

I'm not sure what is wrong with the one test that failed. It seems to have been a test for pnpm.

@merceyz
Copy link
Member

merceyz commented Dec 2, 2021

Yeah, those tests are flaky so you can just ignore them, nothing wrong with this PR. We need to fix them at some point but for now @arcanis will have to do the merge since he can ignore the failing CI checks.

@arcanis arcanis merged commit aa4d888 into yarnpkg:master Dec 3, 2021
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.

3 participants