eslint-plugin-promise : Enforce best practices for JavaScript promises. You can installing eslint-plugin-promise 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-promise $ sudo npm install -g eslint-plugin-promise
If want to update the eslint-plugin-promise package execute the command as below,
$ sudo npm update eslint-plugin-promise
Update package globally,
$ npm install -g eslint-plugin-promise
$ sudo git clone https://github.com/rektide/eslint-plugin-promise.git
$ sudo npm install -g ./eslint-plugin-promise
eslint-plugin-promise@3.6.0 /usr/lib/node_modules/eslint-plugin-promise
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall eslint-plugin-promise
Package Name | eslint-plugin-promise |
Version | 3.6.0 |
Description | Enforce best practices for JavaScript promises |
Released Date | 2017-10-13T18:11:33.133Z |
Published by | xjamundx |
How to Learn | https://www.npmjs.com/package/eslint-plugin-promise/tutorial |