mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 23:37:55 -05:00
[eslint config] [*] [docs] ensure latest version of config is installed
Fixes #1121.
This commit is contained in:
@@ -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"
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user