-
Notifications
You must be signed in to change notification settings - Fork 239
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
Support ESLint 8.x #881
Comments
Thanks, I've got a branch locally covering this but we need |
|
Yeah, we released an update a couple of hours ago: https://github.com/jest-community/eslint-plugin-jest/releases/tag/v25.0.4 Cannot test against eslint@8 for some reason, but I think consumers should be unblocked |
I'm getting this error when trying to use
UPDATE: This problem went away for us after installing the latest eslint-plugin-jest@25.2.2 |
In v25.0.5 you forget to update peer deps:
I am unable to install it, because it conflicts with the |
@EvHaus huh, unexpected... I'm also unable to reproduce in a fresh repo doing // package.json
{
"name": "eslint-8",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"eslint": "^8.0.0",
"eslint-plugin-jest": "^25.0.5"
}
} // .eslintrc
{"plugins": ["jest"], "rules": {"jest/expect-expect": "error"}} // test.js
test('dummy', function() {
// no expect here
}) |
@zdm no, we're unable to test against it. You can ignore the peer dep warning if you want, but seeing as this issue is still open support isn't officially released yet 🙂 |
It is not warning, npd dies with error.
|
there's your workaround. It's just a warning. If that's not acceptable, you can wait until this issue is closed |
If it helps, we also got the same error as @EvHaus during a dependabot upgrade prompt for eslint 8. I assumed the issue was that we just needed to update eslint-plugin-jest for compatibility, but then got the peer dependency mismatch error @zdm indicated. The legacy peer dep resolution is no longer the default for (presumably) good reasons and that flag enables it for one's whole app -- so we'll probably wait to see the peer dependency list updated. |
still getting the same error as this one. can anyone help? |
Please open up a separate issue with a reproduction |
Did you find any solution? facing the same issue |
Just open up a new issue with a reproduction. I assume you'll find your error while reducing your own project down to a reproduction, but if not I'm happy to fix it |
ESLint v8.0.0 is released 🎉
It would be awesome to have official ESLint 8 support. 👊
I'm happy to help where I can of course 🙂
The text was updated successfully, but these errors were encountered: