{"action":"created","issue":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1420","repository_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1420/labels{/name}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1420/comments","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1420/events","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/1420","id":256352565,"number":1420,"title":"(feature request) Case check for Comp.propTypes","user":{"login":"SeanSilke","id":1077074,"avatar_url":"https://avatars3.githubusercontent.com/u/1077074?v=4","gravatar_id":"","url":"https://api.github.com/users/SeanSilke","html_url":"https://github.com/SeanSilke","followers_url":"https://api.github.com/users/SeanSilke/followers","following_url":"https://api.github.com/users/SeanSilke/following{/other_user}","gists_url":"https://api.github.com/users/SeanSilke/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanSilke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanSilke/subscriptions","organizations_url":"https://api.github.com/users/SeanSilke/orgs","repos_url":"https://api.github.com/users/SeanSilke/repos","events_url":"https://api.github.com/users/SeanSilke/events{/privacy}","received_events_url":"https://api.github.com/users/SeanSilke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-08T19:43:00Z","updated_at":"2017-09-09T05:55:53Z","closed_at":null,"author_association":"NONE","body":"If misplaced lowercase `p` for `P` in `propTypes` it will lead to complete absence of props type checking\r\n\r\nIt will be good to add check for  `Comp.propTypes` vs ` Comp.PropTypes`\r\n\r\nHow strange it case can seem people encountered it.\r\n[example on stackoverflow](https://stackoverflow.com/questions/45398709/react-proptypes-in-stateless-functional-component)\r\n"},"comment":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/comments/328256916","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/1420#issuecomment-328256916","issue_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1420","id":328256916,"user":{"login":"jseminck","id":9586897,"avatar_url":"https://avatars2.githubusercontent.com/u/9586897?v=4","gravatar_id":"","url":"https://api.github.com/users/jseminck","html_url":"https://github.com/jseminck","followers_url":"https://api.github.com/users/jseminck/followers","following_url":"https://api.github.com/users/jseminck/following{/other_user}","gists_url":"https://api.github.com/users/jseminck/gists{/gist_id}","starred_url":"https://api.github.com/users/jseminck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseminck/subscriptions","organizations_url":"https://api.github.com/users/jseminck/orgs","repos_url":"https://api.github.com/users/jseminck/repos","events_url":"https://api.github.com/users/jseminck/events{/privacy}","received_events_url":"https://api.github.com/users/jseminck/received_events","type":"User","site_admin":false},"created_at":"2017-09-09T05:55:53Z","updated_at":"2017-09-09T05:55:53Z","author_association":"CONTRIBUTOR","body":"Can you give an example? This is exactly what the rule is supposed to do - so perhaps there's a case that isn't caught properly.\r\n\r\n![proptypes](https://user-images.githubusercontent.com/9586897/30237525-a5da9c96-953c-11e7-8fc7-e4719f1a96bd.png)\r\n"}}
{"actor":{"display_login":"jseminck"}}