Skip to content

Instantly share code, notes, and snippets.

@jpomykala
Last active March 9, 2017 10:09
Show Gist options
  • Save jpomykala/a6689a24d2e0ec3ed39b6349e46d6b6d to your computer and use it in GitHub Desktop.
Save jpomykala/a6689a24d2e0ec3ed39b6349e46d6b6d to your computer and use it in GitHub Desktop.
React-Native eslint
{
"env": {
"browser": 1
},
"globals": {
"exampleGlobalVariable": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"extends": "eslint-config-airbnb",
"rules": {
"react/jsx-filename-extension": [1, {
"extensions": [".js", ".jsx"]
}],
"class-methods-use-this": [0, {
"exceptMethods": []
}],
"react/prop-types": [0, {}],
"react/forbid-prop-types": [0, {}],
"no-console": 0,
"no-alert": 0,
"max-len": 0
},
"plugins": [
"react"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment