[eslint config] [*] [docs] ensure latest version of config is installed

Fixes #1121.
This commit is contained in:
Jordan Harband
2016-10-13 10:26:31 -07:00
parent 8d0fda975c
commit baa831b4a9
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ Our default export contains all of our ESLint rules, including ECMAScript 6+. It
```sh
(
export PKG=eslint-config-airbnb-base;
npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG"
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
```

View File

@@ -16,7 +16,7 @@ Our default export contains all of our ESLint rules, including ECMAScript 6+ and
```sh
(
export PKG=eslint-config-airbnb;
npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG"
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
```