Created
October 11, 2016 12:46
-
-
Save langjun/ade0f98d205c9cee7f2b8add72d6c4a3 to your computer and use it in GitHub Desktop.
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
{ | |
"extends": "airbnb", | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true, | |
"mocha": true | |
}, | |
"rules": { | |
// Disable for __DEV__, __SERVER__ usage. | |
"no-undef" : 0, | |
// Disable for console/alert | |
"no-console": 0, | |
"no-alert": 0, | |
"indent": [2, 2, {"SwitchCase": 1}] | |
}, | |
"plugins": [ | |
"react", "import" | |
], | |
"settings": { | |
"import/parser": "babel-eslint", | |
"import/resolve": { | |
"moduleDirectory": ["node_modules", "src"] | |
} | |
}, | |
"globals": { | |
"__DEV__": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment