{"action":"created","issue":{"url":"https://api.github.com/repos/hyperoslo/eslint-config/issues/2","labels_url":"https://api.github.com/repos/hyperoslo/eslint-config/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hyperoslo/eslint-config/issues/2/comments","events_url":"https://api.github.com/repos/hyperoslo/eslint-config/issues/2/events","html_url":"https://github.com/hyperoslo/eslint-config/issues/2","id":106754721,"number":2,"title":"Comma dangling","user":{"login":"timkurvers","id":378235,"avatar_url":"https://avatars.githubusercontent.com/u/378235?v=3","gravatar_id":"","url":"https://api.github.com/users/timkurvers","html_url":"https://github.com/timkurvers","followers_url":"https://api.github.com/users/timkurvers/followers","following_url":"https://api.github.com/users/timkurvers/following{/other_user}","gists_url":"https://api.github.com/users/timkurvers/gists{/gist_id}","starred_url":"https://api.github.com/users/timkurvers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkurvers/subscriptions","organizations_url":"https://api.github.com/users/timkurvers/orgs","repos_url":"https://api.github.com/users/timkurvers/repos","events_url":"https://api.github.com/users/timkurvers/events{/privacy}","received_events_url":"https://api.github.com/users/timkurvers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-16T11:35:20Z","updated_at":"2015-09-23T13:17:03Z","closed_at":null,"body":"The [comma-dangle rule](http://eslint.org/docs/rules/comma-dangle.html) controls whether dangling commas in object/array literals are enforced or disallowed.\r\n\r\nThe [inherited configuration from Airbnb](https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb/base/index.js#L53) requires dangling commas when dealing with multi-line literals:\r\n\r\n```javascript\r\nconst people = [\r\n  'tim',\r\n  'sindre',\r\n  'bear',\r\n];\r\n```\r\n\r\nIs this something we want to override in our configuration?"},"comment":{"url":"https://api.github.com/repos/hyperoslo/eslint-config/issues/comments/142596280","html_url":"https://github.com/hyperoslo/eslint-config/issues/2#issuecomment-142596280","issue_url":"https://api.github.com/repos/hyperoslo/eslint-config/issues/2","id":142596280,"user":{"login":"timkurvers","id":378235,"avatar_url":"https://avatars.githubusercontent.com/u/378235?v=3","gravatar_id":"","url":"https://api.github.com/users/timkurvers","html_url":"https://github.com/timkurvers","followers_url":"https://api.github.com/users/timkurvers/followers","following_url":"https://api.github.com/users/timkurvers/following{/other_user}","gists_url":"https://api.github.com/users/timkurvers/gists{/gist_id}","starred_url":"https://api.github.com/users/timkurvers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkurvers/subscriptions","organizations_url":"https://api.github.com/users/timkurvers/orgs","repos_url":"https://api.github.com/users/timkurvers/repos","events_url":"https://api.github.com/users/timkurvers/events{/privacy}","received_events_url":"https://api.github.com/users/timkurvers/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T13:17:03Z","updated_at":"2015-09-23T13:17:03Z","body":"I'm leaning towards enforcing dangling commas, which is the current default. :+1:"}}