eslint-plugin-react : React specific linting rules for ESLint. You can installing eslint-plugin-react npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install eslint-plugin-react $ sudo npm install -g eslint-plugin-react
If want to update the eslint-plugin-react package execute the command as below,
$ sudo npm update eslint-plugin-react
Update package globally,
$ npm install -g eslint-plugin-react
$ sudo git clone https://github.com/rektide/eslint-plugin-react.git
$ sudo npm install -g ./eslint-plugin-react
eslint-plugin-react@7.5.1 /usr/lib/node_modules/eslint-plugin-react
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall eslint-plugin-react
| Package Name | eslint-plugin-react |
| Version | 7.5.1 |
| Description | React specific linting rules for ESLint |
| Released Date | 2017-11-19T16:48:42.935Z |
| Published by | yannickcr |
| How to Learn | https://www.npmjs.com/package/eslint-plugin-react/tutorial |