{"action":"closed","issue":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/583","repository_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/583/comments","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/583/events","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/583","id":152700979,"number":583,"title":"Rule request: Prevent unused prop in component definition","user":{"login":"mocheng","id":239291,"avatar_url":"https://avatars.githubusercontent.com/u/239291?v=3","gravatar_id":"","url":"https://api.github.com/users/mocheng","html_url":"https://github.com/mocheng","followers_url":"https://api.github.com/users/mocheng/followers","following_url":"https://api.github.com/users/mocheng/following{/other_user}","gists_url":"https://api.github.com/users/mocheng/gists{/gist_id}","starred_url":"https://api.github.com/users/mocheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mocheng/subscriptions","organizations_url":"https://api.github.com/users/mocheng/orgs","repos_url":"https://api.github.com/users/mocheng/repos","events_url":"https://api.github.com/users/mocheng/events{/privacy}","received_events_url":"https://api.github.com/users/mocheng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-03T05:12:41Z","updated_at":"2016-05-08T19:19:39Z","closed_at":"2016-05-08T19:19:39Z","body":"Suppose propTypes states one prop to be `isRequired`, but that prop is not used in component definition. This could be a problem.\r\n\r\nFor the time being, React reports a warning like \r\n\r\n> Warning: Failed propType: Required prop `xxxxxx` was not specified in `XXXXXX`. Check the render method of `Connect(XXXXX)`\r\n\r\nIt would be nice to have it reported as error in lint phase.\r\n"}}