{"action":"created","issue":{"url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/41","repository_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype","labels_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/41/comments","events_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/41/events","html_url":"https://github.com/gajus/eslint-plugin-flowtype/issues/41","id":168678454,"number":41,"title":"REQ: Option to ignore anonymous functions for require-return-type rule","user":{"login":"turadg","id":21505,"avatar_url":"https://avatars.githubusercontent.com/u/21505?v=3","gravatar_id":"","url":"https://api.github.com/users/turadg","html_url":"https://github.com/turadg","followers_url":"https://api.github.com/users/turadg/followers","following_url":"https://api.github.com/users/turadg/following{/other_user}","gists_url":"https://api.github.com/users/turadg/gists{/gist_id}","starred_url":"https://api.github.com/users/turadg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turadg/subscriptions","organizations_url":"https://api.github.com/users/turadg/orgs","repos_url":"https://api.github.com/users/turadg/repos","events_url":"https://api.github.com/users/turadg/events{/privacy}","received_events_url":"https://api.github.com/users/turadg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-01T15:48:13Z","updated_at":"2016-08-10T00:07:38Z","closed_at":"2016-08-09T17:30:20Z","body":"I want `flowtype/require-return-type` enabled in my codebase for `function` declarations and concise methods but it also complains on,\r\n```\r\n      .then(profile => Profile.fromJSON(profile));\r\n```\r\nand complying is a little ugly,\r\n```\r\n      .then((profile): Profile => Profile.fromJSON(profile));\r\n```\r\n\r\nI figure that Flow can generally infer the type in such small function bodies as are common with `=>` and when used anonymously there's no value in hinting to the IDE."},"comment":{"url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/comments/238730098","html_url":"https://github.com/gajus/eslint-plugin-flowtype/issues/41#issuecomment-238730098","issue_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/41","id":238730098,"user":{"login":"gilbarbara","id":31954,"avatar_url":"https://avatars.githubusercontent.com/u/31954?v=3","gravatar_id":"","url":"https://api.github.com/users/gilbarbara","html_url":"https://github.com/gilbarbara","followers_url":"https://api.github.com/users/gilbarbara/followers","following_url":"https://api.github.com/users/gilbarbara/following{/other_user}","gists_url":"https://api.github.com/users/gilbarbara/gists{/gist_id}","starred_url":"https://api.github.com/users/gilbarbara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilbarbara/subscriptions","organizations_url":"https://api.github.com/users/gilbarbara/orgs","repos_url":"https://api.github.com/users/gilbarbara/repos","events_url":"https://api.github.com/users/gilbarbara/events{/privacy}","received_events_url":"https://api.github.com/users/gilbarbara/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T00:07:38Z","updated_at":"2016-08-10T00:07:38Z","body":"Awesome!\r\nBut npm still shows 2.4.1 as the last version.."}}
{"actor":{"display_login":"gilbarbara"}}