Skip to content

Bug: eslint-plugin-react-hooks installes unmaintained @babel/plugin-proposal-private-methods #34686

@AviVahl

Description

@AviVahl

I see that you've decided to release the new major with the babel toolchain included. :(
Would be nice if it didn't install unmaintained babel plugins.

Steps to reproduce:

mkdir plugin-issue
cd plugin-issue
npm init -y
npm i eslint eslint-plugin-react-hooks

Shows:
npm warn deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.

Also, zod@3 is installed, when v4 has been out for a while now. Would appreciate if you could save us the duplicate dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions