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
7 of 14 tasks
Tracked by #118
ljharb opened this issue Apr 6, 2024 · 20 comments
Open
7 of 14 tasks
Tracked by #118

eslint v9 support #2961

ljharb opened this issue Apr 6, 2024 · 20 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
@tiavina-mika

This comment was marked as spam.

@Aluisio
Copy link

Aluisio commented Oct 11, 2024

eslint-plugin-react-hooks stable version 5.0.0 has just been released 😃

@michaelfaith
Copy link

Really stoked to see that! It doesn't, however provide flat config support. So, still a bit more there needed.

@efoken
Copy link

efoken commented Oct 13, 2024

But @michaelfaith, I am not sure if flat config support is actually needed for eslint-plugin-react-hooks!? Because it only contains 2 rules and the plugin and these things are manually set in Airbnb config without an import or something, so I don't see any need for flat config support.

@ljharb
Copy link
Collaborator Author

ljharb commented Oct 13, 2024

If we want to expose a flat config, then we’d need it to have one too.

@michaelfaith
Copy link

Ah, that's a fair point. If the config isn't used, then that wouldn't be a blocker.

@michaelfaith
Copy link

michaelfaith commented Oct 13, 2024

If we want to expose a flat config, then we’d need it to have one too.

Looks like we hit submit at the same time? haha I think it'd actually be possible without their own flat config, unless I'm missing something. Looking at how this library is using the react-hooks plugin, it's only using the rules directly, rather than extending one of its configs. So mapping that same thing to a flat config wouldn't require them to actually have a flat config of their own; just v9 / flat config compatible rules.

notfrancois added a commit to ct-desarrollo/eslint-config that referenced this issue Oct 30, 2024
since eslint v9 is released, there are some packages like eslint-config-airbnb that is a boilerplate setup community contribution that doesn't support eslint v9 yet.
follow more on airbnb/javascript#2961
@pierluigilenoci

This comment was marked as spam.

@ljharb

This comment was marked as off-topic.

@rarenatoe

This comment was marked as off-topic.

@ljharb

This comment was marked as off-topic.

@pierluigilenoci

This comment was marked as off-topic.

@ljharb

This comment was marked as resolved.

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