You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the standard lint script, it runs as expected. However, when I use a more specific config as documented in the README, it throws an error: Error: Failed to load config "plugin:testing-library/recommended" to extend from. In particular, I am trying to use the Next.js or React configs. I've also added "eslint-plugin-testing-library": "^5.0.1" to my project, but it still has the same behavior.
Next.js
{"extends": ["@nick-mazuk/eslint-config/next"]}
React
{"extends": ["@nick-mazuk/eslint-config/react"]}
The text was updated successfully, but these errors were encountered:
My guess is that eslint-plugin-testing-library depends on react-testing-library. On all my React projects, I used that library to unit test components.
However, I'm no longer using React in my personal projects (I've switched to Svelte), so feel free to create a quick PR removing that plugin from the React config.
When I run the standard lint script, it runs as expected. However, when I use a more specific config as documented in the README, it throws an error:
Error: Failed to load config "plugin:testing-library/recommended" to extend from.
In particular, I am trying to use the Next.js or React configs. I've also added"eslint-plugin-testing-library": "^5.0.1"
to my project, but it still has the same behavior.Next.js
React
The text was updated successfully, but these errors were encountered: