jest-community / eslint-plugin-jest

ESLint plugin for Jest
MIT License
1.12k stars 229 forks source link

ci: run against upcoming next major ESLint version #1534

Closed G-Rath closed 3 months ago

G-Rath commented 4 months ago

~Hopefully this'll just work...~ it did not, but now it does!

G-Rath commented 3 months ago

It seems like ESLint v9 somehow has different globals resulting in instanceof RegExp no longer working like in https://github.com/jestjs/jest/issues/2549 🤔

G-Rath commented 3 months ago

Seems that unbound-method doesn't like being run when eslint-plugin v6 is present as I think it ends up getting a bad version of @typescript-eslint/utils?

I've confirmed this is only a development problem - everything works fine on a standard project that's using eslint-plugin-jest and @typescript-eslint v7 side by side; I'm not sure if we can easily address this in our CI though without just skipping the entire v6 test for next :/

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 28.0.0-next.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 28.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: