reactjs / reactjs/react.dev

Remove note on eslint-plugin-react-hooks package

Open
#2,206 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.8k
Forks
7.9k
Avg merge
1d 11h
Merged PRs (30d)
11

Description

The readme of the eslint-plugin-react-hooks-package NPM package states the following:

Note: If you're using Create React App, please wait for a corresponding release of react-scripts that includes this rule instead of adding it directly.

This is no longer true. The newest version of Create React App has the dependency after installing CRA with npx. So I think that this note can be removed from the npm package page.

Reference: https://github.com/facebook/create-react-app/blob/v3.0.1/packages/react-scripts/package.json#L52

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the eslint-plugin-react-hooks NPM package README and the referenced react-scripts package.json entry in Create React App v3.0.1. Confirm where the note is maintained and whether the current CRA release includes the dependency; done means the outdated note is removed from the published package documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.