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

How to use ESLint plugins? #539

Open
GGORG0 opened this issue Dec 19, 2024 · 0 comments
Open

How to use ESLint plugins? #539

GGORG0 opened this issue Dec 19, 2024 · 0 comments

Comments

@GGORG0
Copy link

GGORG0 commented Dec 19, 2024

Because node_modules is in .gitignore, Nix doesn't copy it to the check environment. How can I use plugins within ESLint, which need to be loaded from node_modules?

Using ./node_modules/.bin/eslint as the binary path as per the docs doesn't work, as Nix says:

error: path '/nix/store/sq44vqyhwg2cmx2bk4m3i5jsa8hsfwxx-source/node_modules/.bin/eslint' does not exist
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

No branches or pull requests

1 participant