Skip to content

Instantly share code, notes, and snippets.

@knowbody
Created October 19, 2016 13:30
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 knowbody/c4b28559ab1e37788a99665d0f369063 to your computer and use it in GitHub Desktop.
Save knowbody/c4b28559ab1e37788a99665d0f369063 to your computer and use it in GitHub Desktop.
my example config
{
"parser": "babel-eslint",
"env": {
"es6": true,
"jest": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ios.js", ".android.js"]
}
}
},
"extends": "airbnb",
"rules": {
"quote-props": 1,
"padded-blocks": 0,
"global-require": 0,
"consistent-return": 1,
"no-use-before-define": 0,
"no-shadow": 1,
"no-return-assign": 1,
"no-case-declarations": 1,
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"no-confusing-arrow": 0,
"no-unused-expressions": 1,
"import/no-unresolved": 1,
"import/prefer-default-export": 1,
"react/no-multi-comp": 1,
"react/jsx-filename-extension": 0,
"react/no-string-refs": 1,
"react/jsx-no-bind": 1,
"react/prefer-stateless-function": 1,
"react-native/no-unused-styles": 1,
"react-native/split-platform-components": 1
},
"globals": {
"__DEV__": true,
"fetch": true
},
"plugins": [
"react",
"react-native"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment