{"action":"created","issue":{"url":"https://api.github.com/repos/danger/danger-js/issues/16","repository_url":"https://api.github.com/repos/danger/danger-js","labels_url":"https://api.github.com/repos/danger/danger-js/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/danger/danger-js/issues/16/comments","events_url":"https://api.github.com/repos/danger/danger-js/issues/16/events","html_url":"https://github.com/danger/danger-js/pull/16","id":185466361,"number":16,"title":"introduce the eslint `prefer-const` rule","user":{"login":"romankl","id":1848357,"avatar_url":"https://avatars.githubusercontent.com/u/1848357?v=3","gravatar_id":"","url":"https://api.github.com/users/romankl","html_url":"https://github.com/romankl","followers_url":"https://api.github.com/users/romankl/followers","following_url":"https://api.github.com/users/romankl/following{/other_user}","gists_url":"https://api.github.com/users/romankl/gists{/gist_id}","starred_url":"https://api.github.com/users/romankl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romankl/subscriptions","organizations_url":"https://api.github.com/users/romankl/orgs","repos_url":"https://api.github.com/users/romankl/repos","events_url":"https://api.github.com/users/romankl/events{/privacy}","received_events_url":"https://api.github.com/users/romankl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T18:00:50Z","updated_at":"2016-10-27T09:09:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/danger/danger-js/pulls/16","html_url":"https://github.com/danger/danger-js/pull/16","diff_url":"https://github.com/danger/danger-js/pull/16.diff","patch_url":"https://github.com/danger/danger-js/pull/16.patch"},"body":"Some files already use `const`, but some use `let` nearly exclusive. Eslint offers the `prefer const` which detects possible constant values. This PR introduces the rule and fixes all reported violations.\r\n\r\n\r\nI've created two separated commits for:\r\n- introducing the rule\r\n- fixing the issues\r\n\r\n\r\nShould I squash them together?"},"comment":{"url":"https://api.github.com/repos/danger/danger-js/issues/comments/256588470","html_url":"https://github.com/danger/danger-js/pull/16#issuecomment-256588470","issue_url":"https://api.github.com/repos/danger/danger-js/issues/16","id":256588470,"user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T09:09:56Z","updated_at":"2016-10-27T09:09:56Z","body":"Hah - it was actually danger failing - \"No Changelog changes!\" \r\n\r\nWe still don't have any feedback yet, was planning on starting to look at that today. I'm OK with this being red for now 👍 \r\n\r\nI also don't care about git history - so this is great"}}
{"actor":{"display_login":"orta"}}