{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/2744","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/2744/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/2744/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/2744/events","html_url":"https://github.com/facebook/flow/issues/2744","id":187079616,"number":2744,"title":"ESLint collision `no-duplicate-imports`","user":{"login":"neurosnap","id":1940365,"avatar_url":"https://avatars.githubusercontent.com/u/1940365?v=3","gravatar_id":"","url":"https://api.github.com/users/neurosnap","html_url":"https://github.com/neurosnap","followers_url":"https://api.github.com/users/neurosnap/followers","following_url":"https://api.github.com/users/neurosnap/following{/other_user}","gists_url":"https://api.github.com/users/neurosnap/gists{/gist_id}","starred_url":"https://api.github.com/users/neurosnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neurosnap/subscriptions","organizations_url":"https://api.github.com/users/neurosnap/orgs","repos_url":"https://api.github.com/users/neurosnap/repos","events_url":"https://api.github.com/users/neurosnap/events{/privacy}","received_events_url":"https://api.github.com/users/neurosnap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-03T14:44:44Z","updated_at":"2016-11-03T15:05:34Z","closed_at":null,"body":"I couldn't find any documentation on how to handle duplicate imports using flow.  The following example causing eslint to complain about duplicate imports.  I'm not sure if there's a better way to import types from a module I'm already importing. \r\n\r\n```js\r\nimport { put, select, call } from 'redux-saga/effects';\r\nimport type { IOEffect } from 'redux-saga/effects';\r\n\r\nfunction* testSaga(): Generator<IOEffect, *, *> {}\r\n```\r\n\r\nAny feedback would be greatly appreciated!"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/258169330","html_url":"https://github.com/facebook/flow/issues/2744#issuecomment-258169330","issue_url":"https://api.github.com/repos/facebook/flow/issues/2744","id":258169330,"user":{"login":"erikdesjardins","id":7673145,"avatar_url":"https://avatars.githubusercontent.com/u/7673145?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdesjardins","html_url":"https://github.com/erikdesjardins","followers_url":"https://api.github.com/users/erikdesjardins/followers","following_url":"https://api.github.com/users/erikdesjardins/following{/other_user}","gists_url":"https://api.github.com/users/erikdesjardins/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdesjardins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdesjardins/subscriptions","organizations_url":"https://api.github.com/users/erikdesjardins/orgs","repos_url":"https://api.github.com/users/erikdesjardins/repos","events_url":"https://api.github.com/users/erikdesjardins/events{/privacy}","received_events_url":"https://api.github.com/users/erikdesjardins/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T15:05:33Z","updated_at":"2016-11-03T15:05:33Z","body":"FWIW you can work around this by using [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)'s [`no-duplicates`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md) rule instead of `no-duplicate-imports`."}}
{"actor":{"display_login":"erikdesjardins"}}