{"action":"created","issue":{"url":"https://api.github.com/repos/feross/standard/issues/690","repository_url":"https://api.github.com/repos/feross/standard","labels_url":"https://api.github.com/repos/feross/standard/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/690/comments","events_url":"https://api.github.com/repos/feross/standard/issues/690/events","html_url":"https://github.com/feross/standard/issues/690","id":190256514,"number":690,"title":"No useless expressions","user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"labels":[{"id":170719558,"url":"https://api.github.com/repos/feross/standard/labels/feature%20request","name":"feature request","color":"207de5","default":false},{"id":235870207,"url":"https://api.github.com/repos/feross/standard/labels/new%20rule%20request","name":"new rule request","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-18T07:49:52Z","updated_at":"2016-11-24T03:27:25Z","closed_at":null,"body":"I recently had something bite me in some of my own code,  and I wonder if we can't avoid this happening:\r\n\r\n``` js\r\nvar o = {}\r\n\r\n// ...\r\n\r\nif (o.value === undefined) {\r\n  o.value === 3\r\n}\r\n```\r\n\r\nThat should have been `o.value = 3`,  but,  alas,  something went wrong that day.\r\nIs there an existing eslint rule for this?\r\nAny reason not to have it enabled?"},"comment":{"url":"https://api.github.com/repos/feross/standard/issues/comments/262682242","html_url":"https://github.com/feross/standard/issues/690#issuecomment-262682242","issue_url":"https://api.github.com/repos/feross/standard/issues/690","id":262682242,"user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T03:27:25Z","updated_at":"2016-11-24T03:27:25Z","body":"Oh god,  does `expect(err).to.exist` really exist?\r\nThe grammar-like/chaining API's can make sense... but oh god please not that ^"}}
{"actor":{"display_login":"dcousens"}}