{"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":7,"created_at":"2017-09-08T19:43:00Z","updated_at":"2017-09-10T09:14:27Z","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/328330041","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/1420#issuecomment-328330041","issue_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1420","id":328330041,"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},"created_at":"2017-09-10T09:14:27Z","updated_at":"2017-09-10T09:14:27Z","author_association":"NONE","body":"@jseminck \r\nYes it Works!\r\nI made errors in declaration on the rule.\r\nGreat thanks!\r\n\r\nThere is possibility to make better documentation.\r\n### Add functional components to  warning code examples.\r\n```js\r\nconst Welcome = ({name}) => <h1> Hello, {name} </h1>\r\nWelcome.PropTypes = {}\r\n\r\nconst Welcome = ({name}) => <h1> Hello, {name} </h1>\r\nWelcome.proptypes = {}\r\n```\r\n### Add mention of function in rule overview.\r\nEnsure no casing typos were made declaring static class properties\r\n-> Ensure no casing typos were made declaring static class or **function** properties\r\n\r\n \r\nIt makes sure that the following class properties have no casing typos\r\n-> It makes sure that the following class of **function** properties have no casing typos\r\n\r\nOnce again thanks for your help!\r\n"}}
{"actor":{"display_login":"SeanSilke"}}