Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Object.hasOwnProperty taken for a prop in react/prop-types rule #102

Closed
@mathieumg

Description

@mathieumg

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp