{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2333","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2333/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2333/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2333/events","html_url":"https://github.com/eslint/eslint/issues/2333","id":69120115,"number":2333,"title":"Rule idea: favor const","user":{"login":"hgl","id":7038035,"avatar_url":"https://avatars.githubusercontent.com/u/7038035?v=3","gravatar_id":"","url":"https://api.github.com/users/hgl","html_url":"https://github.com/hgl","followers_url":"https://api.github.com/users/hgl/followers","following_url":"https://api.github.com/users/hgl/following{/other_user}","gists_url":"https://api.github.com/users/hgl/gists{/gist_id}","starred_url":"https://api.github.com/users/hgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgl/subscriptions","organizations_url":"https://api.github.com/users/hgl/orgs","repos_url":"https://api.github.com/users/hgl/repos","events_url":"https://api.github.com/users/hgl/events{/privacy}","received_events_url":"https://api.github.com/users/hgl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T11:22:33Z","updated_at":"2015-04-17T15:37:59Z","closed_at":null,"body":"Doesn't allow you to do this:\r\n```js\r\nfunction foo() {\r\n  let bar = 1;\r\n  alert(bar); // bar is never rebound, should use const to define bar\r\n}\r\n```\r\n\r\nShould be beneficial when you want to encourage the use of `const`."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/94011236","html_url":"https://github.com/eslint/eslint/issues/2333#issuecomment-94011236","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2333","id":94011236,"user":{"login":"brigand","id":936069,"avatar_url":"https://avatars.githubusercontent.com/u/936069?v=3","gravatar_id":"","url":"https://api.github.com/users/brigand","html_url":"https://github.com/brigand","followers_url":"https://api.github.com/users/brigand/followers","following_url":"https://api.github.com/users/brigand/following{/other_user}","gists_url":"https://api.github.com/users/brigand/gists{/gist_id}","starred_url":"https://api.github.com/users/brigand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brigand/subscriptions","organizations_url":"https://api.github.com/users/brigand/orgs","repos_url":"https://api.github.com/users/brigand/repos","events_url":"https://api.github.com/users/brigand/events{/privacy}","received_events_url":"https://api.github.com/users/brigand/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T15:37:58Z","updated_at":"2015-04-17T15:37:58Z","body":"Oh wow, how did I miss that? Thanks nzakas."}}