{"action":"opened","issue":{"url":"https://api.github.com/repos/jshint/jshint/issues/2430","labels_url":"https://api.github.com/repos/jshint/jshint/issues/2430/labels{/name}","comments_url":"https://api.github.com/repos/jshint/jshint/issues/2430/comments","events_url":"https://api.github.com/repos/jshint/jshint/issues/2430/events","html_url":"https://github.com/jshint/jshint/issues/2430","id":83410301,"number":2430,"title":"export of const failing since 2.8.0","user":{"login":"jlowcs","id":3777724,"avatar_url":"https://avatars.githubusercontent.com/u/3777724?v=3","gravatar_id":"","url":"https://api.github.com/users/jlowcs","html_url":"https://github.com/jlowcs","followers_url":"https://api.github.com/users/jlowcs/followers","following_url":"https://api.github.com/users/jlowcs/following{/other_user}","gists_url":"https://api.github.com/users/jlowcs/gists{/gist_id}","starred_url":"https://api.github.com/users/jlowcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlowcs/subscriptions","organizations_url":"https://api.github.com/users/jlowcs/orgs","repos_url":"https://api.github.com/users/jlowcs/repos","events_url":"https://api.github.com/users/jlowcs/events{/privacy}","received_events_url":"https://api.github.com/users/jlowcs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-01T09:43:11Z","updated_at":"2015-06-01T09:43:11Z","closed_at":null,"body":"When exporting a variable that was declared as a ```const```, jshint fails:\r\n\r\n```javascript\r\nconst FOO = 'foo';\r\nexport {FOO};\r\n```\r\n\r\n```\r\nfoo.js: line 2, col 9, 'FOO' is not defined.\r\n```\r\n\r\nThis, however, works well:\r\n```javascript\r\nexport const FOO = 'bar';\r\n```\r\n"}}