{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator/issues/792","labels_url":"https://api.github.com/repos/yeoman/generator/issues/792/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator/issues/792/comments","events_url":"https://api.github.com/repos/yeoman/generator/issues/792/events","html_url":"https://github.com/yeoman/generator/pull/792","id":67671636,"number":792,"title":"Improve code style to be more readable","user":{"login":"kevva","id":709159,"avatar_url":"https://avatars.githubusercontent.com/u/709159?v=3","gravatar_id":"","url":"https://api.github.com/users/kevva","html_url":"https://github.com/kevva","followers_url":"https://api.github.com/users/kevva/followers","following_url":"https://api.github.com/users/kevva/following{/other_user}","gists_url":"https://api.github.com/users/kevva/gists{/gist_id}","starred_url":"https://api.github.com/users/kevva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevva/subscriptions","organizations_url":"https://api.github.com/users/kevva/orgs","repos_url":"https://api.github.com/users/kevva/repos","events_url":"https://api.github.com/users/kevva/events{/privacy}","received_events_url":"https://api.github.com/users/kevva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-10T20:06:53Z","updated_at":"2015-04-10T20:09:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yeoman/generator/pulls/792","html_url":"https://github.com/yeoman/generator/pull/792","diff_url":"https://github.com/yeoman/generator/pull/792.diff","patch_url":"https://github.com/yeoman/generator/pull/792.patch"},"body":"I didn't want to push this in directly due to some pretty big changes. But this should improve the consistency and readability of the code greatly."},"comment":{"url":"https://api.github.com/repos/yeoman/generator/issues/comments/91669549","html_url":"https://github.com/yeoman/generator/pull/792#issuecomment-91669549","issue_url":"https://api.github.com/repos/yeoman/generator/issues/792","id":91669549,"user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T20:09:54Z","updated_at":"2015-04-10T20:09:54Z","body":"I'm not sure I agree with lots of those changes.\r\n\r\nJavaScript (and node style) is often pretty verbose. Being lax on the syntax is IMO pretty useful and help readability.\r\n\r\nA good example is this very common pattern `if (err) return cb(err);`. This is pretty readable, but the usual accepted way is super verbose:\r\n\r\n```js\r\nif (err) {\r\n  cb(err);\r\n  return;\r\n}\r\n```"}}