-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
9.12.0: Adding a snapshot file to a directory causes TypeError: Key "rules": Key "import/no-extraneous-dependencies": Could not find plugin "import". #3086
Comments
the file is named Also, you're using eslint 9, but can you confirm the version of the import plugin you're using? |
No, that's a typo from adding spaces after the end of the word. Two spaces and OSX inserts a period.
Looks like that's out of date. I'll update and see if it fixes it. |
Indeed, that version doesn't support eslint 9 and you shouldn't be using them together :-) |
I set
However I'm not convinced that ESLint is actually using 2.31.0 when running the command. Is there some way to check the versions that ESLint is using for plugins when it runs? No |
I'm trying to just ignore any
to my root eslint config I get an error
are the underscores in the path screwing things up? I tried escaping them and then Prettier removed the escapes. I don't think you need to escape underscores in a string. Edit: sorted it by using |
You don't need to escape underscores, no. |
I got it sorted, see Edit block in that comment. |
Awesome! What's the mismatch you see in the docs? Let's fix it :-) |
The docs say this should work (the full quote is up above):
but when I add
I get an error about
to ignore all of the files with I still think there's an actual bug in here somewhere. |
As part of normal dev work I added a snapshot (Jest) file to a workspace in my repo. This apparently broke Eslint. When I remove the snapshot file the TypeError goes away. See
NOTE THIS LINE
in the middle.config
base config
The text was updated successfully, but these errors were encountered: