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
Activity
release(version): Release 1.1.0 [skip ci]
fix(deps): update dependency eslint-plugin-react to v7.35.0
fix(deps): update dependency eslint-plugin-react to v7.35.0
fix(deps): update dependency eslint-plugin-react to v7.35.0
fix(deps): update dependency eslint-plugin-react to v7.35.0
fix(deps): update dependency eslint-plugin-react to v7.35.0
fix(deps): update dependency eslint-plugin-react to v7.35.0
fix(deps): update dependency eslint-plugin-react to v7.35.0
30 remaining items