Selino
Selino

Reputation: 111

How to install an NPM plugin using react-scripts

I am trying to install and use the eslint-plugin-react-hooks plugin in a project. Usually I'd simply run npm install or yarn add but the directions say to use react-scripts because I'm using create-react-app. How do I do that? Do I add a script and list it as a dependency on the package.json file or is there some other way?

Any help is appreciated.

Upvotes: 3

Views: 551

Answers (0)

Related Questions