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

Update: Add resolver option to ESLint and CLIEngine #15099

Closed
wants to merge 2 commits into from

Conversation

onigoetz
Copy link

@onigoetz onigoetz commented Sep 24, 2021

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[x] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

As discussed in #15036 this PR adds a resolver option to the ESLint and CLIEngine classes.

This takes advantage of the resolver option exposed by ConfigArrayFactory

I didn't add tests yet because I wasn't sure where to put them, the tests files are huge and I'm not sure where in the structure these options would fit. Can you give me pointers please ? I'll add them right away.

Is there anything you'd like reviewers to focus on?

@eslint-github-bot eslint-github-bot bot added the triage An ESLint team member will look at this issue soon label Sep 24, 2021
@nzakas
Copy link
Member

nzakas commented Oct 9, 2021

Thanks for this. We decided to go ahead and unfreeze ModuleResolver, so this won’t be needed.

@nzakas nzakas closed this Oct 9, 2021
@eslint-github-bot eslint-github-bot bot locked and limited conversation to collaborators Apr 8, 2022
@eslint-github-bot eslint-github-bot bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion triage An ESLint team member will look at this issue soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants