.eslintrc
{
"extends": [
"airbnb",
"plugin:import/errors",
"plugin:prettier/recommended",
"plugin:react/recommended",
"prettier/react",
"prettier/standard"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"plugins": ["babel", "flowtype", "prettier"],
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
},
"rules": {
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"react/sort-comp": [
"warn",
{
"order": [
"constructor",
"lifecycle",
"everything-else",
"render"
]
}
],
"react/static-property-placement": "off"
}
}