{"action":"opened","issue":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/48","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/48/comments","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/48/events","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/48","id":65488922,"number":48,"title":"react/prop-types false positive on component class with static get propTypes()","user":{"login":"hugihlynsson","id":4923531,"avatar_url":"https://avatars.githubusercontent.com/u/4923531?v=3","gravatar_id":"","url":"https://api.github.com/users/hugihlynsson","html_url":"https://github.com/hugihlynsson","followers_url":"https://api.github.com/users/hugihlynsson/followers","following_url":"https://api.github.com/users/hugihlynsson/following{/other_user}","gists_url":"https://api.github.com/users/hugihlynsson/gists{/gist_id}","starred_url":"https://api.github.com/users/hugihlynsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugihlynsson/subscriptions","organizations_url":"https://api.github.com/users/hugihlynsson/orgs","repos_url":"https://api.github.com/users/hugihlynsson/repos","events_url":"https://api.github.com/users/hugihlynsson/events{/privacy}","received_events_url":"https://api.github.com/users/hugihlynsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-31T16:16:33Z","updated_at":"2015-03-31T16:16:33Z","closed_at":null,"body":"If I have a class that has a property called props, the react/prop-types rule will complain about missing props validation even if it is defined in a `static get propTypes`\r\n```js\r\nimport React from 'react';\r\nclass MyClass extends React.Component {\r\n  static get propTypes() {\r\n    return {\r\n      test: React.PropTypes.bool,\r\n    };\r\n  }\r\n  myMethod() {\r\n    return this.props.test;\r\n  }\r\n}\r\n```\r\n`9:11 error 'test' is missing in props validation for MyClass react/prop-types`\r\nThis should not happen since the test prop is being validated\r\n\r\neslint-plugin-react 2.0.2"}}