Created
July 28, 2016 08:18
-
-
Save sriraman/75e708d3b37a558909272665aa375831 to your computer and use it in GitHub Desktop.
React Native ESLint config
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
Show hidden characters
{ | |
"extends": "standard", | |
"parser": "babel-eslint", | |
"installedESLint": true, | |
"plugins": [ | |
"standard", | |
"react" | |
], | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"rules": { | |
"react/jsx-uses-react": "error", | |
"react/jsx-uses-vars": "error", | |
"indent": [2, "tab"] | |
}, | |
"settings": { | |
"react": { | |
"pragma": "React", | |
"version": "15.0" | |
} | |
}, | |
"globals": { | |
"fetch": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment