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

Use node_modules from docker container #321

Open
gleme opened this issue Sep 6, 2022 · 1 comment
Open

Use node_modules from docker container #321

gleme opened this issue Sep 6, 2022 · 1 comment

Comments

@gleme
Copy link

gleme commented Sep 6, 2022

Hello! 😄

I have an application that runs webpack on a docker container and I have a node_modules volume mounted on this container so it is persisted between docker-compose ups . Another good reason for that is to keep it isolated from the host machine and not override node_modules from the container. Is there any way to configure the ESLint plugin to use the ESLint binary from the node_modules inside the docker container, or do I need to install it on the host machine? I couldn't find it anywhere on the docs.

Thanks in advance!

@kaste
Copy link
Contributor

kaste commented Sep 8, 2022

Hi!

Running through docker might be too slow but generally you could try

"executable": ["docker-compose", "run", "..."]

in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants