{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier/issues/3469","repository_url":"https://api.github.com/repos/prettier/prettier","labels_url":"https://api.github.com/repos/prettier/prettier/issues/3469/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/3469/comments","events_url":"https://api.github.com/repos/prettier/prettier/issues/3469/events","html_url":"https://github.com/prettier/prettier/issues/3469","id":281684439,"number":3469,"title":"Can we enable the dangling comma on this project?","user":{"login":"lipis","id":125676,"avatar_url":"https://avatars1.githubusercontent.com/u/125676?v=4","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-13T09:46:58Z","updated_at":"2017-12-13T10:02:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Because even though one line was added, two were deleted and that's confusing when reviewing.\r\n\r\n<img width=\"312\" alt=\"screen shot 2017-12-13 at 11 39 30\" src=\"https://user-images.githubusercontent.com/125676/33931987-5dfa3784-dffa-11e7-8193-6ba1e881638d.png\">\r\n\r\nAlso if you would like to sort them, you would have to manually add the missing comma, because the there will be a syntax error if the last item will move in the middle.. (if someone will mention that these things are handled by Prettier 😃)\r\n\r\nMore reasons can be found here: https://medium.com/@nikgraf/why-you-should-enforce-dangling-commas-for-multiline-statements-d034c98e36f8"},"comment":{"url":"https://api.github.com/repos/prettier/prettier/issues/comments/351342718","html_url":"https://github.com/prettier/prettier/issues/3469#issuecomment-351342718","issue_url":"https://api.github.com/repos/prettier/prettier/issues/3469","id":351342718,"user":{"login":"lipis","id":125676,"avatar_url":"https://avatars1.githubusercontent.com/u/125676?v=4","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"created_at":"2017-12-13T10:02:01Z","updated_at":"2017-12-13T10:02:01Z","author_association":"CONTRIBUTOR","body":"That's what I thought.. but not really.. :) The default I guess comes based on popularity or what people wanted in a first place, but the world is evolving and maybe we can _teach_ them the _right_ way :P\r\n\r\nAlso if it's a hard requirement for this project to use the default values, let's change the default value :D Either case, having the dangling comma has more  pros than cons.."}}
{"actor":{"display_login":"lipis"}}