emotion-js/emotion

@emotion/eslint-plugin should support eslint 9

Keysox opened this issue · 0 comments

The problem

ESLint v9.0.0 was released back in April and we'd like to use @emotion/eslint-plugin but npm complains:

npm error Could not resolve dependency:
npm error peer eslint@"6 || 7 || 8" from @emotion/eslint-plugin@11.11.0

Proposed solution

It would be great if we could update

"eslint": "6 || 7 || 8"
to "eslint": ">=6" so that we're able to upgrade when new versions of ESLint come out today and into the future.

Alternative solutions

Alternatively, we could change it to "eslint": "6 || 7 || 8 || 9"

Additional context

I haven't tested whether this package works with new ESLint so perhaps there's a reason to not update the peer. If that's the case, it would be great to update what's needed for compatability!