-
Notifications
You must be signed in to change notification settings - Fork 234
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
feat: support eslint@8
#940
Conversation
package.json
Outdated
@@ -60,6 +60,9 @@ | |||
"projects": [ | |||
{ | |||
"displayName": "test", | |||
"moduleNameMapper": { | |||
"@eslint/eslintrc/universal": "@eslint/eslintrc/dist/eslintrc-universal.cjs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it uses package exports: jestjs/jest#9771
Sweet, I'll have a look at the type failings sometime this week - are we still planning to try and have backwards compat with v4? |
Unless it proves painful, yes. I assume it's just a change of a few lines, but who knows 😀 |
Cool cool - (I've not have a chance to look at what the actual changes in v5 are, as been pretty slammed with work) |
Seems v4 of the plugin doesn't support eslint v8, so we need to exclude that combination from CI. I still think it's worthwhile for us to attempt to support both versions, tho (even though they don't work together). EDIT: hah, somehow managed the config first try 🥳 |
e4f94c5
to
f3ff4b5
Compare
Ok, the issue (beyond missing update to |
This was the issue with
|
hah, that's it 😅 nice! |
@@ -149,5 +152,8 @@ | |||
"@semantic-release/git", | |||
"@semantic-release/github" | |||
] | |||
}, | |||
"resolutions": { | |||
"@typescript-eslint/experimental-utils": "^5.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to remove this at some point, but fine for now as it's repo local (like the moduleNameMapper
thing)
# [25.1.0](v25.0.6...v25.1.0) (2021-10-14) ### Features * support `eslint@8` ([#940](#940)) ([5a9e45f](5a9e45f))
🎉 This PR is included in version 25.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@G-Rath this is not meant to be merged, just to see where we're at.
@typescript-eslint/experimental-utils
as some use eslint internalssrc/rules/__tests__/unbound-method.test.ts
fails, so that rule needs to be tweaked to work withv5 ofv8 of@typescript-eslint/eslint-plugin
eslint
eslint-plugin-import
until [New]no-unused-modules
: add eslint v8 support import-js/eslint-plugin-import#2194 is releasedCloses #903