{"action":"created","issue":{"url":"https://api.github.com/repos/standard/standard/issues/1097","repository_url":"https://api.github.com/repos/standard/standard","labels_url":"https://api.github.com/repos/standard/standard/issues/1097/labels{/name}","comments_url":"https://api.github.com/repos/standard/standard/issues/1097/comments","events_url":"https://api.github.com/repos/standard/standard/issues/1097/events","html_url":"https://github.com/standard/standard/issues/1097","id":308225535,"number":1097,"title":"'xx' is not defined for arrow functions in react ","user":{"login":"btmdave","id":28645,"avatar_url":"https://avatars1.githubusercontent.com/u/28645?v=4","gravatar_id":"","url":"https://api.github.com/users/btmdave","html_url":"https://github.com/btmdave","followers_url":"https://api.github.com/users/btmdave/followers","following_url":"https://api.github.com/users/btmdave/following{/other_user}","gists_url":"https://api.github.com/users/btmdave/gists{/gist_id}","starred_url":"https://api.github.com/users/btmdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btmdave/subscriptions","organizations_url":"https://api.github.com/users/btmdave/orgs","repos_url":"https://api.github.com/users/btmdave/repos","events_url":"https://api.github.com/users/btmdave/events{/privacy}","received_events_url":"https://api.github.com/users/btmdave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-24T03:30:35Z","updated_at":"2018-03-25T00:43:55Z","closed_at":null,"author_association":"NONE","body":"I'm receiving errors that a function is not defined within a react component, on the line of the function, i.e.,\r\n\r\n```\r\nsubmit = () => {}\r\n```\r\ngives me 'submit' is not defined.  I know I can `// eslint-disable-line` but is there anyway to have standard recognize this? I'm using with babel-eslint.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/standard/standard/issues/comments/375936210","html_url":"https://github.com/standard/standard/issues/1097#issuecomment-375936210","issue_url":"https://api.github.com/repos/standard/standard/issues/1097","id":375936210,"user":{"login":"btmdave","id":28645,"avatar_url":"https://avatars1.githubusercontent.com/u/28645?v=4","gravatar_id":"","url":"https://api.github.com/users/btmdave","html_url":"https://github.com/btmdave","followers_url":"https://api.github.com/users/btmdave/followers","following_url":"https://api.github.com/users/btmdave/following{/other_user}","gists_url":"https://api.github.com/users/btmdave/gists{/gist_id}","starred_url":"https://api.github.com/users/btmdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btmdave/subscriptions","organizations_url":"https://api.github.com/users/btmdave/orgs","repos_url":"https://api.github.com/users/btmdave/repos","events_url":"https://api.github.com/users/btmdave/events{/privacy}","received_events_url":"https://api.github.com/users/btmdave/received_events","type":"User","site_admin":false},"created_at":"2018-03-25T00:43:55Z","updated_at":"2018-03-25T00:43:55Z","author_association":"NONE","body":"That was a method of a class, this is in a react component, such as:\r\n\r\n```\r\nclass Example extends React.Component {\r\n  submit = () => {}\r\n}\r\n```"}}
{"actor":{"display_login":"btmdave"}}