lint-staged : Lint files staged by git. You can installing lint-staged 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 lint-staged $ sudo npm install -g lint-staged
If want to update the lint-staged package execute the command as below,
$ sudo npm update lint-staged
Update package globally,
$ npm install -g lint-staged
$ sudo git clone https://github.com/rektide/lint-staged.git
$ sudo npm install -g ./lint-staged
lint-staged@5.0.0 /usr/lib/node_modules/lint-staged
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall lint-staged
Package Name | lint-staged |
Version | 5.0.0 |
Description | Lint files staged by git |
Released Date | 2017-11-11T08:24:34.487Z |
Published by | okonet |
How to Learn | https://www.npmjs.com/package/lint-staged/tutorial |