Skip to content
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

eslint v9 support #2961

Open
5 of 13 tasks
ljharb opened this issue Apr 6, 2024 · 6 comments
Open
5 of 13 tasks

eslint v9 support #2961

ljharb opened this issue Apr 6, 2024 · 6 comments

Comments

@ljharb
Copy link
Collaborator

ljharb commented Apr 6, 2024

(see also #2478, #2223, #2036, #1834, #1447)

eslint v9 was released on 2024.04.05.

The current plan is, if possible, to release a new semver-minor of both configs, that supports 7 || 8 || 9.

Note that this is different from whether flat config is supported or not by these plugins, and from whether this project will convert to flat config.

The timeframe for eslint v9 support is "not as soon as you would like, but as soon as we can".
Please accept this, and please add no noise to this thread beyond emoji reactions - distractions won't help anyone get the work done any faster.

Please do not file additional issues and do not file pull requests attempting to add support - please, instead, continue to use eslint v8 until such time as our configs support v9.

Peer Dep eslint combined v7, v8, and v9 support released:

@ljharb ljharb pinned this issue Apr 8, 2024
tripodsan added a commit to adobe/helix-shared that referenced this issue Apr 9, 2024
tripodsan added a commit to adobe/helix-shared that referenced this issue Apr 9, 2024
nickjj added a commit to nickjj/docker-node-example that referenced this issue Apr 16, 2024
Certain extensions aren't compatible yet with 9.X such as:

  airbnb/javascript#2961
@controversial
Copy link

Updates to the checklist above:

  • eslint-plugin-react now has support for eslint 9 and flat config [1]
  • eslint-plugin-react-hooks has support for eslint 9 in its canary [2]. They’re waiting for React 19 to ship (which is held up indefinitely by their issues with suspense orchestration) to release stable. Flat config works with the canary release.

eslint-plugin-jsx-a11y still has flat config support but not eslint 9 support; and there’s nothing completed for eslint-plugin-import or eslint-find-rules

@oxyno-zeta

This comment was marked as off-topic.

@rarenatoe
Copy link

Is this PR enabled now? #2826

For the record: eslint-plugin-import now supports flat configs

@ljharb
Copy link
Collaborator Author

ljharb commented Sep 5, 2024

technically yes, but until both packages can support it there’s no point in doing it for one.

@hubjongit
Copy link

hubjongit commented Sep 14, 2024

The eslint-plugin-react-hooks PR is merged and available at least in canary release (can be checked off?), and flat config support for it has a PR now waiting to be merged (can be linked). @michaelfaith really putting in the work to help get all these pre-reqs complete.
Is Airbnb support gonna happen soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants