{"action":"created","issue":{"url":"https://api.github.com/repos/reddit/styleguide/issues/30","labels_url":"https://api.github.com/repos/reddit/styleguide/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/reddit/styleguide/issues/30/comments","events_url":"https://api.github.com/repos/reddit/styleguide/issues/30/events","html_url":"https://github.com/reddit/styleguide/pull/30","id":125289105,"number":30,"title":"Add ES6 and React JavaScript styleguides","user":{"login":"curioussavage","id":7064600,"avatar_url":"https://avatars.githubusercontent.com/u/7064600?v=3","gravatar_id":"","url":"https://api.github.com/users/curioussavage","html_url":"https://github.com/curioussavage","followers_url":"https://api.github.com/users/curioussavage/followers","following_url":"https://api.github.com/users/curioussavage/following{/other_user}","gists_url":"https://api.github.com/users/curioussavage/gists{/gist_id}","starred_url":"https://api.github.com/users/curioussavage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curioussavage/subscriptions","organizations_url":"https://api.github.com/users/curioussavage/orgs","repos_url":"https://api.github.com/users/curioussavage/repos","events_url":"https://api.github.com/users/curioussavage/events{/privacy}","received_events_url":"https://api.github.com/users/curioussavage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T23:42:04Z","updated_at":"2016-01-07T00:07:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reddit/styleguide/pulls/30","html_url":"https://github.com/reddit/styleguide/pull/30","diff_url":"https://github.com/reddit/styleguide/pull/30.diff","patch_url":"https://github.com/reddit/styleguide/pull/30.patch"},"body":"The old javascript guide was also moved to /es5\r\n\r\n:eyeglasses: @ajacksified @schwers @nramadas @madbook @dwick and whoever else cares\r\n\r\nUpdated with the latest version of the Airbnb style guide and applied the same handful of changes that we made to the original. I also added their React styleguide and removed a few things we don't do.\r\n\r\nGetting a little weary of scanning around this so seems like a good time for input.\r\n\r\nHere are some specific parts to look at.\r\n\r\nJS\r\n--------\r\n* Arrays\r\n  use slice to copy array too?\r\n\r\n* Arrow functions\r\n  what styles do we prefer?\r\n\r\n* comments\r\n  fixme /todo convention?\r\n\r\n* Naming conventions\r\n  possible rule; name constants with all caps?\r\n\r\nReact\r\n----------\r\n* ordering (do we even care that much? conventions might be nice though)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/reddit/styleguide/issues/comments/169504709","html_url":"https://github.com/reddit/styleguide/pull/30#issuecomment-169504709","issue_url":"https://api.github.com/repos/reddit/styleguide/issues/30","id":169504709,"user":{"login":"schwers","id":307983,"avatar_url":"https://avatars.githubusercontent.com/u/307983?v=3","gravatar_id":"","url":"https://api.github.com/users/schwers","html_url":"https://github.com/schwers","followers_url":"https://api.github.com/users/schwers/followers","following_url":"https://api.github.com/users/schwers/following{/other_user}","gists_url":"https://api.github.com/users/schwers/gists{/gist_id}","starred_url":"https://api.github.com/users/schwers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schwers/subscriptions","organizations_url":"https://api.github.com/users/schwers/orgs","repos_url":"https://api.github.com/users/schwers/repos","events_url":"https://api.github.com/users/schwers/events{/privacy}","received_events_url":"https://api.github.com/users/schwers/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T00:07:59Z","updated_at":"2016-01-07T00:07:59Z","body":"Can you add a section on splats?"}}