Skip to content

Instantly share code, notes, and snippets.

@wbroek
Created Apr 30, 2018
Embed
What would you like to do?
ESLint config file
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"no-use-before-define": [
"error",
{
"variables": false
}
],
"react/prefer-stateless-function": [
0
],
"react/forbid-prop-types": [
1,
{
"forbid": [
"any",
"array"
]
}
]
},
"env": {
"es6": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment