Last active
December 23, 2017 17:23
-
-
Save amandeepmittal/3d33b3c7039442e4e68dd6409ec9a0af to your computer and use it in GitHub Desktop.
eslint RN 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
{ | |
"extends": "airbnb", | |
"parser": "babel-eslint", | |
"env": { | |
"node": true, | |
"browser": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"rules": { | |
"react/jsx-filename-extension": [ | |
2, | |
{ | |
"extensions": [".js", ".jsx"] | |
} | |
], | |
"react/forbid-prop-types": [0] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
step 2:
eslint --init
More info