Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.7k
Closed
Description
Object.prototype.hasOwnProperty is taken for a prop in thereact/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 thehasOwnProperty prop. I imagine the same happens with other methods on theObject prototype.
I'm using v2.5 with eslint v0.22.1