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
Jest is automatically in scope. Do not import "jest" in Config file. #289
Comments
Duplicate of jest-community/eslint-plugin-jest#1333 |
@G-Rath so, it will be automatically fixed in a new release version, right? |
@SalahAdDin this has nothing to do with this plugin, so no |
It is related to the main package, wich also deprecated the rule; so, if this package updates the package, the big will be gone. |
This package does not expose that rule as its own, so there is no bug - there's actually not a bug in the base rule to begin with becuase it's not meant to be run on jest config (which is outlined in the overrides example in our readme) |
No idea, I just moved to |
eslint-plugin-jest-dom
version: 4.0.3node
version: v18.12.1npm
version: 8.19.2Relevant code or config
What you did: Just set up the config file.
What happened:
The linter complains about the importing line.
Reproduction repository:
Problem description:
The documentation says we need to import the correct type for the configuration object if we are working with Typescript.
However, when we import it, the linter complains about it.
Suggested solution:
The linter should ignore the configuration file, maybe...
The text was updated successfully, but these errors were encountered: