mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
feat(yarn): add ylnf
alias to fix linting problems (#9219)
This commit is contained in:
parent
5dbb30342e
commit
d304635b8c
2 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ plugins=(... yarn)
|
||||||
| yi | `yarn init` | Interactively creates or updates a package.json file |
|
| yi | `yarn init` | Interactively creates or updates a package.json file |
|
||||||
| yin | `yarn install` | Install dependencies defined in `package.json` |
|
| yin | `yarn install` | Install dependencies defined in `package.json` |
|
||||||
| yln | `yarn lint` | Run the lint script 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 |
|
| yls | `yarn list` | List installed packages |
|
||||||
| yout | `yarn outdated` | Check for outdated package dependencies |
|
| yout | `yarn outdated` | Check for outdated package dependencies |
|
||||||
| yp | `yarn pack` | Create a compressed gzip archive of package dependencies |
|
| yp | `yarn pack` | Create a compressed gzip archive of package dependencies |
|
||||||
|
|
|
@ -13,6 +13,7 @@ alias yh="yarn help"
|
||||||
alias yi="yarn init"
|
alias yi="yarn init"
|
||||||
alias yin="yarn install"
|
alias yin="yarn install"
|
||||||
alias yln="yarn lint"
|
alias yln="yarn lint"
|
||||||
|
alias ylnf="yarn lint --fix"
|
||||||
alias yls="yarn list"
|
alias yls="yarn list"
|
||||||
alias yout="yarn outdated"
|
alias yout="yarn outdated"
|
||||||
alias yp="yarn pack"
|
alias yp="yarn pack"
|
||||||
|
|
Loading…
Reference in a new issue