{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2577","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2577/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2577/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2577/events","html_url":"https://github.com/eslint/eslint/issues/2577","id":78232356,"number":2577,"title":"ES6 'no-unused-vars' ignore unused import declarations","user":{"login":"pixeldrew","id":129363,"avatar_url":"https://avatars.githubusercontent.com/u/129363?v=3","gravatar_id":"","url":"https://api.github.com/users/pixeldrew","html_url":"https://github.com/pixeldrew","followers_url":"https://api.github.com/users/pixeldrew/followers","following_url":"https://api.github.com/users/pixeldrew/following{/other_user}","gists_url":"https://api.github.com/users/pixeldrew/gists{/gist_id}","starred_url":"https://api.github.com/users/pixeldrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixeldrew/subscriptions","organizations_url":"https://api.github.com/users/pixeldrew/orgs","repos_url":"https://api.github.com/users/pixeldrew/repos","events_url":"https://api.github.com/users/pixeldrew/events{/privacy}","received_events_url":"https://api.github.com/users/pixeldrew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-19T20:08:47Z","updated_at":"2015-05-20T20:00:34Z","closed_at":"2015-05-20T00:02:16Z","body":"Would like to add an option to the 'no-unused-vars' rule to ignore unused imports.\r\n\r\nFor instance:\r\n```js\r\nimport plugin from 'plugin'; // defined as a UMD object with a jquery dependency and exports jQuery.fn.plugin \r\nimport $ from 'jquery';\r\n\r\n$(ele).plugin();\r\n```\r\nI see this as useful as there are many libraries that add to global objects that are required before the original global object is imported.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/104017826","html_url":"https://github.com/eslint/eslint/issues/2577#issuecomment-104017826","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2577","id":104017826,"user":{"login":"pixeldrew","id":129363,"avatar_url":"https://avatars.githubusercontent.com/u/129363?v=3","gravatar_id":"","url":"https://api.github.com/users/pixeldrew","html_url":"https://github.com/pixeldrew","followers_url":"https://api.github.com/users/pixeldrew/followers","following_url":"https://api.github.com/users/pixeldrew/following{/other_user}","gists_url":"https://api.github.com/users/pixeldrew/gists{/gist_id}","starred_url":"https://api.github.com/users/pixeldrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixeldrew/subscriptions","organizations_url":"https://api.github.com/users/pixeldrew/orgs","repos_url":"https://api.github.com/users/pixeldrew/repos","events_url":"https://api.github.com/users/pixeldrew/events{/privacy}","received_events_url":"https://api.github.com/users/pixeldrew/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T20:00:34Z","updated_at":"2015-05-20T20:00:34Z","body":"ah, good to know. Thanks"}}