Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Last active December 23, 2017 17:23
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 amandeepmittal/3d33b3c7039442e4e68dd6409ec9a0af to your computer and use it in GitHub Desktop.
Save amandeepmittal/3d33b3c7039442e4e68dd6409ec9a0af to your computer and use it in GitHub Desktop.
eslint RN config
{
"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]
}
}
@amandeepmittal
Copy link
Author

Dependencies to install: eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y babel-eslint

@amandeepmittal
Copy link
Author

amandeepmittal commented Dec 23, 2017

step 2: eslint --init

More info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment