Created
May 3, 2017 14:06
-
-
Save jonatasleon/20075e47b3ddc39b12a4d1dd9cb2adc0 to your computer and use it in GitHub Desktop.
Eslint config to airbnb js style
This file contains hidden or 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
Show hidden characters
{ | |
"extends": "airbnb", | |
"rules": { | |
"semi": 2, | |
"import/no-extraneous-dependencies": [ | |
"error", { | |
"devDependencies": true | |
} | |
] | |
}, | |
"globals": { | |
"describe": true, | |
"app": true, | |
"beforeEach": true, | |
"before": true, | |
"it": true, | |
"request": true, | |
"expect": true, | |
"td": true, | |
"Joi": true, | |
"joiAssert": true | |
} | |
} |
This file contains hidden or 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@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment