eslint-plugin-prettier : Runs prettier as an eslint rule. You can installing eslint-plugin-prettier 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-prettier $ sudo npm install -g eslint-plugin-prettier
If want to update the eslint-plugin-prettier package execute the command as below,
$ sudo npm update eslint-plugin-prettier
Update package globally,
$ npm install -g eslint-plugin-prettier
$ sudo git clone https://github.com/rektide/eslint-plugin-prettier.git
$ sudo npm install -g ./eslint-plugin-prettier
eslint-plugin-prettier@2.3.1 /usr/lib/node_modules/eslint-plugin-prettier
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall eslint-plugin-prettier
Package Name | eslint-plugin-prettier |
Version | 2.3.1 |
Description | Runs prettier as an eslint rule |
Released Date | 2017-09-18T16:08:27.999Z |
Published by | not-an-aardvark |
How to Learn | https://www.npmjs.com/package/eslint-plugin-prettier/tutorial |