-
Notifications
You must be signed in to change notification settings - Fork 609
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 #2890
Comments
@octogonz - want to take a look at this? |
We don't normally adopt or support beta versions of tools (since it's already a nontrivial time investment to keep up with officially released versions 😇). I'm fine however if someone wants to make a PR that enables usage of I'm also curious to see what will happen with @rushstack/eslint-patch. |
ESLint 8.0.0 was just released 😉 https://eslint.org/blog/2021/10/eslint-v8.0.0-released |
Fixes #29770 ## Description Pins `eslint` to `v7`. This avoids issues with `v8` from both [changes to the public api](https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0#the-lib-entrypoint-has-been-removed) and [lack of support from rushstack](microsoft/rushstack#2890). See #29770 (comment) for slightly more detail. Local testing showed output of next app correctly pinned to `v7`. <img width="495" alt="Screen Shot 2021-10-12 at 12 31 56 AM" src="https://user-images.githubusercontent.com/29002354/136892312-1571718c-882b-4235-98f4-c1b8d4c72d26.png"> ### Bug Checklist - [X] Related issues linked using `fixes #number` - [ ] Integration tests added - Happy to add an integration test for pinning to v7 if we'd like, will need to be updated / removed when v8 is supported. - [ ] Errors have helpful link attached, see `contributing.md` - No errors to add links for
Any updates or news from this issue? |
@marcoreni is correct, this should be re-opened. I will take a look at this soon. |
@lukashass yes, I noticed this just recently, sorry for missing that! I already had some additional changes in my branch, so I'll likely create a separate PR for it. I'll tag you when I get that out. |
I am working on getting eslint to work with heft, having trouble making it work with eslint 8.7.0. Is it possible that the documentation is out of date here? |
The error I get is this when execute heft build with .eslintrc.js exactly as it specified in the documentation. I have verified that everything is present in node_modules at the correct paths.
I tried downgrading ESLint to 7.32.0, and the error persists, so the issue seems to be something else. |
It looks like the message is originating here:
Hard to be sure unless there is an output processor that outputs only the first line of the exception message to stderr. EDIT: Turned out that I managed somehow to install an old version of @rushstack/eslint-config which led to those obscure errors. |
Fixes vercel#29770 ## Description Pins `eslint` to `v7`. This avoids issues with `v8` from both [changes to the public api](https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0#the-lib-entrypoint-has-been-removed) and [lack of support from rushstack](microsoft/rushstack#2890). See vercel#29770 (comment) for slightly more detail. Local testing showed output of next app correctly pinned to `v7`. <img width="495" alt="Screen Shot 2021-10-12 at 12 31 56 AM" src="https://user-images.githubusercontent.com/29002354/136892312-1571718c-882b-4235-98f4-c1b8d4c72d26.png"> ### Bug Checklist - [X] Related issues linked using `fixes #number` - [ ] Integration tests added - Happy to add an integration test for pinning to v7 if we'd like, will need to be updated / removed when v8 is supported. - [ ] Errors have helpful link attached, see `contributing.md` - No errors to add links for
Fixes vercel/next.js#29770 ## Description Pins `eslint` to `v7`. This avoids issues with `v8` from both [changes to the public api](https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0#the-lib-entrypoint-has-been-removed) and [lack of support from rushstack](microsoft/rushstack#2890). See vercel/next.js#29770 (comment) for slightly more detail. Local testing showed output of next app correctly pinned to `v7`. <img width="495" alt="Screen Shot 2021-10-12 at 12 31 56 AM" src="https://user-images.githubusercontent.com/29002354/136892312-1571718c-882b-4235-98f4-c1b8d4c72d26.png"> ### Bug Checklist - [X] Related issues linked using `fixes #number` - [ ] Integration tests added - Happy to add an integration test for pinning to v7 if we'd like, will need to be updated / removed when v8 is supported. - [ ] Errors have helpful link attached, see `contributing.md` - No errors to add links for
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: