add rule for: yarn install [pkg]

--- `install` has been replaced with `add` to add new dependencies. Run $0 instead.

https://github.com/yarnpkg/yarn/blob/6e9a9a6596ca8f177f68f6672a1ef4ff16705336/src/reporters/lang/en.js#L18
This commit is contained in:
Russ Panula
2017-03-25 23:12:01 -07:00
committed by Vladimir Iakovlev
parent d41cbb6810
commit 900e83e028
3 changed files with 46 additions and 0 deletions
+1
View File
@@ -259,6 +259,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `workon_doesnt_exists` – fixes `virtualenvwrapper` env name os suggests to create new.
* `yarn_alias` – fixes aliased `yarn` commands like `yarn ls`;
* `yarn_command_not_found` – fixes misspelled `yarn` commands;
* `yarn_command_replaced` – fixes replaced `yarn` commands;
* `yarn_help` – makes it easier to open `yarn` documentation;
Enabled by default only on specific platforms: