Skip to content

Instantly share code, notes, and snippets.

@langjun
Created October 11, 2016 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save langjun/ade0f98d205c9cee7f2b8add72d6c4a3 to your computer and use it in GitHub Desktop.
Save langjun/ade0f98d205c9cee7f2b8add72d6c4a3 to your computer and use it in GitHub Desktop.
{
"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