{"action":"opened","issue":{"url":"https://api.github.com/repos/mohebifar/lebab/issues/150","repository_url":"https://api.github.com/repos/mohebifar/lebab","labels_url":"https://api.github.com/repos/mohebifar/lebab/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/mohebifar/lebab/issues/150/comments","events_url":"https://api.github.com/repos/mohebifar/lebab/issues/150/events","html_url":"https://github.com/mohebifar/lebab/issues/150","id":165284255,"number":150,"title":"option to only convert functions to arrow functions when single line and passed directly to a function","user":{"login":"graingert","id":413772,"avatar_url":"https://avatars.githubusercontent.com/u/413772?v=3","gravatar_id":"","url":"https://api.github.com/users/graingert","html_url":"https://github.com/graingert","followers_url":"https://api.github.com/users/graingert/followers","following_url":"https://api.github.com/users/graingert/following{/other_user}","gists_url":"https://api.github.com/users/graingert/gists{/gist_id}","starred_url":"https://api.github.com/users/graingert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graingert/subscriptions","organizations_url":"https://api.github.com/users/graingert/orgs","repos_url":"https://api.github.com/users/graingert/repos","events_url":"https://api.github.com/users/graingert/events{/privacy}","received_events_url":"https://api.github.com/users/graingert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-13T10:06:33Z","updated_at":"2016-07-13T10:06:33Z","closed_at":null,"body":"eg:\r\nyes:\r\n```js\r\nsomeFunctionWithCb(function(item) { return item + 1 });\r\n```\r\nno:\r\n```js\r\nvar whyNoFunctionDeclarations = function (x) {\r\n    return x + 1;\r\n}\r\n```\r\nno:\r\n```js\r\nsomeFunctionWithCb(function(item) {\r\n  var multiLineCallbackFunction = true;\r\n  return item + 1;\r\n});\r\n```"}}
{"actor":{"display_login":"graingert"}}