Closed
Description
Object.prototype.hasOwnProperty
is taken for a prop in the react/prop-types
rule, so whenever I want to validate that a prop actually exists using that method I get a linter warning saying I didn't define the hasOwnProperty
prop. I imagine the same happens with other methods on the Object
prototype.
I'm using v2.5 with eslint v0.22.1