{"action":"created","issue":{"url":"https://api.github.com/repos/planetlabs/eslint-config-planet/issues/12","repository_url":"https://api.github.com/repos/planetlabs/eslint-config-planet","labels_url":"https://api.github.com/repos/planetlabs/eslint-config-planet/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/planetlabs/eslint-config-planet/issues/12/comments","events_url":"https://api.github.com/repos/planetlabs/eslint-config-planet/issues/12/events","html_url":"https://github.com/planetlabs/eslint-config-planet/pull/12","id":247170498,"number":12,"title":"Enforce Trailing Commas on Multi-line","user":{"login":"andrewzey","id":4950310,"avatar_url":"https://avatars0.githubusercontent.com/u/4950310?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewzey","html_url":"https://github.com/andrewzey","followers_url":"https://api.github.com/users/andrewzey/followers","following_url":"https://api.github.com/users/andrewzey/following{/other_user}","gists_url":"https://api.github.com/users/andrewzey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewzey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewzey/subscriptions","organizations_url":"https://api.github.com/users/andrewzey/orgs","repos_url":"https://api.github.com/users/andrewzey/repos","events_url":"https://api.github.com/users/andrewzey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewzey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-01T19:07:36Z","updated_at":"2017-11-07T17:19:42Z","closed_at":"2017-11-07T17:19:42Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/planetlabs/eslint-config-planet/pulls/12","html_url":"https://github.com/planetlabs/eslint-config-planet/pull/12","diff_url":"https://github.com/planetlabs/eslint-config-planet/pull/12.diff","patch_url":"https://github.com/planetlabs/eslint-config-planet/pull/12.patch"},"body":"## Changes\r\n- enforces trailing comma on multi-line (but not on single-line) (http://eslint.org/docs/rules/comma-dangle)\r\n\r\nTrailing commas simplify adding and removing items to objects and arrays, since only the lines you are modifying must be touched. Another argument in favor of trailing commas is that it improves the clarity of diffs when an item is added or removed from an object or array:\r\n\r\n![image](https://user-images.githubusercontent.com/4950310/28842250-c461177a-76b1-11e7-898f-7625a40262ef.png)\r\n\r\nIt also makes it easier to quickly re-arrange list items without having to manage commas (this comes up all the time , especially when dealing with `mapStateToProps`, `mapDispatchToProps`, `propTypes`.\r\n\r\n![image](https://user-images.githubusercontent.com/4950310/28842295-ed7ea096-76b1-11e7-96d1-1dae3694e7d7.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/planetlabs/eslint-config-planet/issues/comments/342555986","html_url":"https://github.com/planetlabs/eslint-config-planet/pull/12#issuecomment-342555986","issue_url":"https://api.github.com/repos/planetlabs/eslint-config-planet/issues/12","id":342555986,"user":{"login":"tschaub","id":41094,"avatar_url":"https://avatars0.githubusercontent.com/u/41094?v=4","gravatar_id":"","url":"https://api.github.com/users/tschaub","html_url":"https://github.com/tschaub","followers_url":"https://api.github.com/users/tschaub/followers","following_url":"https://api.github.com/users/tschaub/following{/other_user}","gists_url":"https://api.github.com/users/tschaub/gists{/gist_id}","starred_url":"https://api.github.com/users/tschaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschaub/subscriptions","organizations_url":"https://api.github.com/users/tschaub/orgs","repos_url":"https://api.github.com/users/tschaub/repos","events_url":"https://api.github.com/users/tschaub/events{/privacy}","received_events_url":"https://api.github.com/users/tschaub/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T17:19:42Z","updated_at":"2017-11-07T17:19:42Z","author_association":"MEMBER","body":"Please reopen if you fix conflicts (and can ensure this works with Prettier)."}}
{"actor":{"display_login":"tschaub"}}