Created
October 31, 2016 09:59
-
-
Save afdalwahyu/0650ebd7d8e54f2555925c030b65402b to your computer and use it in GitHub Desktop.
my react-native .eslintrc
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", | |
"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