{"action":"closed","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3196","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3196/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3196/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3196/events","html_url":"https://github.com/eslint/eslint/issues/3196","id":98086217,"number":3196,"title":"no-restricted-modules doesn't check es6 modules","user":{"login":"zaggino","id":1067319,"avatar_url":"https://avatars.githubusercontent.com/u/1067319?v=3","gravatar_id":"","url":"https://api.github.com/users/zaggino","html_url":"https://github.com/zaggino","followers_url":"https://api.github.com/users/zaggino/followers","following_url":"https://api.github.com/users/zaggino/following{/other_user}","gists_url":"https://api.github.com/users/zaggino/gists{/gist_id}","starred_url":"https://api.github.com/users/zaggino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaggino/subscriptions","organizations_url":"https://api.github.com/users/zaggino/orgs","repos_url":"https://api.github.com/users/zaggino/repos","events_url":"https://api.github.com/users/zaggino/events{/privacy}","received_events_url":"https://api.github.com/users/zaggino/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/feature","name":"feature","color":"bfd4f2"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-30T05:03:47Z","updated_at":"2015-12-04T17:20:39Z","closed_at":"2015-12-04T17:20:39Z","body":"setting\r\n```no-restricted-modules: [2, \"cluster\"]```\r\ndoesn't throw error on\r\n```import cluster from \"cluster\";```\r\nprobably due to:\r\nhttps://github.com/eslint/eslint/blob/2f36f92e1c8d7000252f905c0a90764ff06e7249/lib/rules/no-restricted-modules.js#L61\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25149954-no-restricted-modules-doesn-t-check-es6-modules?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}