The issue is only applicable when I name my function argument "props" but if I change that, the warning goes away. See screenshots:


Wow, so much fix. So many speed. Thanks @yannickcr!
I'm seeing this issue with 5.1.1 as not fixed or my configuration is wrong.
Here's my eslintrc:
{
"parser" : "babel-eslint",
"extends" : [
"standard",
"standard-react"
],
"env" : {
"browser" : true
},
"globals" : {
"__DEV__" : false,
"__PROD__" : false,
"__DEBUG__" : false,
"__COVERAGE__" : false,
"__BASENAME__" : false
},
"rules": {
}
}
/Users/kross/projects/my-relay-starter-kit/src/App.js
83:13 error 'routes' is missing in props validation react/prop-types
83:21 error 'history' is missing in props validation react/prop-types
~/p/my-relay-starter-kit ❯❯❯ npm ls eslint-plugin-react ⏎ master ✭ ✱ ◼
[email protected] /Users/kross/projects/my-relay-starter-kit
└── [email protected]
Do you spot anything I'm doing to misconfigure this?
FYI - My issue was a bug with flow (nothing with this plugin!): https://github.com/facebook/flow/issues/1908
Most helpful comment
FYI - My issue was a bug with flow (nothing with this plugin!): https://github.com/facebook/flow/issues/1908