diff --git a/plugins/yarn/README.md b/plugins/yarn/README.md index fd748b742..9a0d1708d 100644 --- a/plugins/yarn/README.md +++ b/plugins/yarn/README.md @@ -28,6 +28,7 @@ plugins=(... yarn) | yi | `yarn init` | Interactively creates or updates a package.json file | | yin | `yarn install` | Install dependencies defined in `package.json` | | yln | `yarn lint` | Run the lint script defined in `package.json` | +| ylnf | `yarn lint --fix` | Run the lint script defined in `package.json`to automatically fix problems | | yls | `yarn list` | List installed packages | | yout | `yarn outdated` | Check for outdated package dependencies | | yp | `yarn pack` | Create a compressed gzip archive of package dependencies | diff --git a/plugins/yarn/yarn.plugin.zsh b/plugins/yarn/yarn.plugin.zsh index 4a5192c61..a240cb88e 100644 --- a/plugins/yarn/yarn.plugin.zsh +++ b/plugins/yarn/yarn.plugin.zsh @@ -13,6 +13,7 @@ alias yh="yarn help" alias yi="yarn init" alias yin="yarn install" alias yln="yarn lint" +alias ylnf="yarn lint --fix" alias yls="yarn list" alias yout="yarn outdated" alias yp="yarn pack"