The npm webpage for eslint-plugin-react-hooks, or the github page, says, under "installation",
Note: If you're using Create React App, please use react-scripts >= 3 instead of adding it directly.
Assuming you already have ESLint installed, run:
npm install eslint-plugin-react-hooks --save-dev
Can anyone please explain what I am supposed to do if I'm using Create React App? Some of my projects use Create-React-App, others do not. Does this instruction apply to all my projects? And how do I "use react-scripts >= 3"? What is a "react-script"?
npm install I can understand. The note, less so. TIA.