Skip to content

Instantly share code, notes, and snippets.

@afdalwahyu
Created October 31, 2016 09:59
Show Gist options
  • Save afdalwahyu/0650ebd7d8e54f2555925c030b65402b to your computer and use it in GitHub Desktop.
Save afdalwahyu/0650ebd7d8e54f2555925c030b65402b to your computer and use it in GitHub Desktop.
my react-native .eslintrc
{
"extends": "airbnb",
"env": {
"mocha": true
},
"plugins": [
"react-native"
],
"parser": "babel-eslint",
"rules": {
"no-empty-label": 0,
"no-console": 0,
"import/no-unresolved": 0,
"global-require": 0,
"no-underscore-dangle": 0,
"space-before-keywords": 0,
"space-after-keywords": 0,
"space-return-throw-case": 0,
"react/prefer-stateless-function": 1,
"react/jsx-filename-extension": 1,
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment