{"action":"created","issue":{"url":"https://api.github.com/repos/feross/standard/issues/381","repository_url":"https://api.github.com/repos/feross/standard","labels_url":"https://api.github.com/repos/feross/standard/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/381/comments","events_url":"https://api.github.com/repos/feross/standard/issues/381/events","html_url":"https://github.com/feross/standard/issues/381","id":126051944,"number":381,"title":"enforce function statements","user":{"login":"davidjamesstone","id":3041504,"avatar_url":"https://avatars.githubusercontent.com/u/3041504?v=3","gravatar_id":"","url":"https://api.github.com/users/davidjamesstone","html_url":"https://github.com/davidjamesstone","followers_url":"https://api.github.com/users/davidjamesstone/followers","following_url":"https://api.github.com/users/davidjamesstone/following{/other_user}","gists_url":"https://api.github.com/users/davidjamesstone/gists{/gist_id}","starred_url":"https://api.github.com/users/davidjamesstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidjamesstone/subscriptions","organizations_url":"https://api.github.com/users/davidjamesstone/orgs","repos_url":"https://api.github.com/users/davidjamesstone/repos","events_url":"https://api.github.com/users/davidjamesstone/events{/privacy}","received_events_url":"https://api.github.com/users/davidjamesstone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/feross/standard/labels/new%20rule","name":"new rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-01-11T22:29:10Z","updated_at":"2016-02-05T00:06:33Z","closed_at":null,"body":"I was wondering about folks preference in regards to expression vs statements.\r\n\r\nClearly it's important to understand the differences between the two in regards hoisting and also the use cases of each but there are often times where either could be used.\r\n\r\nI can't find a recommendation - is there a guideline or for this in standardjs?\r\n\r\nI see there's the \"Enforce Function Style (func-style)\" rule in ES Lint. I don't think I'm suggesting this be implemented but it would be nice to have an official line on the preferred approach.\r\n\r\nMany thanks\r\n\r\nDave"},"comment":{"url":"https://api.github.com/repos/feross/standard/issues/comments/180112828","html_url":"https://github.com/feross/standard/issues/381#issuecomment-180112828","issue_url":"https://api.github.com/repos/feross/standard/issues/381","id":180112828,"user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T00:06:33Z","updated_at":"2016-02-05T00:06:33Z","body":"@dcousens Agreed, but it's quite a bit of breakage (22% of the ecosystem)."}}