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

Global ESLint on Windows: Allow passing through --resolve-plugins-relative-to #98

Closed
ehoogeveen-medweb opened this issue Aug 15, 2022 · 4 comments · Fixed by #99
Closed

Comments

@ehoogeveen-medweb
Copy link
Contributor

On Windows, the only way I can get plugins to resolve with my global installation of ESLint is by passing the option --resolve-plugins-relative-to, set to the output of npm root -g. Unfortunately eslint-nibble does not recognize this option, so I can't use it on Windows.

@IanVS
Copy link
Owner

IanVS commented Aug 15, 2022

Hi @ehoogeveen-medweb, that sounds fine to me, would you be willing to submit a PR? You could use this PR as a guide. https://github.com/IanVS/eslint-nibble/pull/76/files

@ljharb
Copy link
Contributor

ljharb commented Aug 15, 2022

Note that using eslint globally is heavily deprecated by the eslint team, and has always been a bad idea.

@ehoogeveen-medweb
Copy link
Contributor Author

@IanVS Sure, I'll see if I can submit a PR tomorrow.

@ljharb Yeah, I'm working on making the tooling local but it's still going to take some time.

@IanVS
Copy link
Owner

IanVS commented Aug 18, 2022

Published in 8.1.0. Thanks!

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 a pull request may close this issue.

3 participants