Created
March 29, 2018 12:01
-
-
Save hprobotic/4389faa70b7bbac4d80ceedaa75a9b4d to your computer and use it in GitHub Desktop.
hapijs eslintrc
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
{ | |
"extends": "eslint-config-airbnb", | |
"parser": "babel-eslint", | |
"rules": { | |
"no-console": [1], | |
"max-len": [1, 120, 2, { "ignoreComments": true }], | |
"no-else-return": [0], | |
"import/prefer-default-export": [0], | |
"arrow-body-style": [0], | |
"class-methods-use-this": [0] | |
}, | |
"globals": { | |
"__CLIENT__": true, | |
"__SERVER__": true, | |
"__PRODUCTION__": true, | |
"__DEV__": true, | |
"document": false, | |
"escape": false, | |
"navigator": false, | |
"unescape": false, | |
"window": false, | |
"describe": true, | |
"before": true, | |
"after": true, | |
"it": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment