Created
April 8, 2017 06:49
-
-
Save xiangyu-sun/9bc0807f3da036f84062718d6795efe8 to your computer and use it in GitHub Desktop.
install eslint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
export PKG=eslint-config-airbnb; | |
npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment