{"action":"opened","issue":{"url":"https://api.github.com/repos/babel/babel-eslint/issues/57","labels_url":"https://api.github.com/repos/babel/babel-eslint/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-eslint/issues/57/comments","events_url":"https://api.github.com/repos/babel/babel-eslint/issues/57/events","html_url":"https://github.com/babel/babel-eslint/issues/57","id":64859166,"number":57,"title":"Exporting destructured assignment causes no-undef","user":{"login":"shipstar","id":115918,"avatar_url":"https://avatars.githubusercontent.com/u/115918?v=3","gravatar_id":"","url":"https://api.github.com/users/shipstar","html_url":"https://github.com/shipstar","followers_url":"https://api.github.com/users/shipstar/followers","following_url":"https://api.github.com/users/shipstar/following{/other_user}","gists_url":"https://api.github.com/users/shipstar/gists{/gist_id}","starred_url":"https://api.github.com/users/shipstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shipstar/subscriptions","organizations_url":"https://api.github.com/users/shipstar/orgs","repos_url":"https://api.github.com/users/shipstar/repos","events_url":"https://api.github.com/users/shipstar/events{/privacy}","received_events_url":"https://api.github.com/users/shipstar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-27T21:56:21Z","updated_at":"2015-03-27T21:56:21Z","closed_at":null,"body":"This is a bit of an edge case, but I'm currently dealing with some variables that are on the window that I want to wrap up for browserify. I created a WindowService like the following:\r\n\r\n    /*global window*/\r\n\r\n    export default {\r\n      foo,\r\n      bar,\r\n      baz\r\n    } = window\r\n\r\nbut I'm getting the following errors when I lint:\r\n\r\n     app/services/window.js\r\n      4:6  error  'foo' is not defined  no-undef\r\n      5:6  error  'bar' is not defined  no-undef\r\n      6:6  error  'baz' is not defined  no-undef\r\n\r\nSeems similar to but distinct from #56."}}