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

Compatibility with jest #40

Open
jackyef opened this issue Sep 2, 2019 · 1 comment
Open

Compatibility with jest #40

jackyef opened this issue Sep 2, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@jackyef
Copy link

jackyef commented Sep 2, 2019

jestjs/jest#5741 (comment)

Jest has its own cache, so when running with jest, the following error is always thrown.

Could not find ESLint Linter in require cache
@Conduitry Conduitry added the enhancement New feature or request label Sep 2, 2019
@Conduitry
Copy link
Member

Is there some way to access the cache when using Jest? Because of ESLint API limitations, we do need to be able to monkeypatch some stuff on the copy of ESLint that's going to be used during the build or linting or tests or whatever.

The eventual proper way to fix this (and maybe the only way, depending on what Jest exposes) will be to get this feature implemented in ESLint, so that there's no longer a need to monkeypatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants