{"action":"created","issue":{"url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/72","repository_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype","labels_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/72/comments","events_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/72/events","html_url":"https://github.com/gajus/eslint-plugin-flowtype/issues/72","id":171985789,"number":72,"title":"import is duplicated when using `import` and `import type`","user":{"login":"Gozala","id":21236,"avatar_url":"https://avatars.githubusercontent.com/u/21236?v=3","gravatar_id":"","url":"https://api.github.com/users/Gozala","html_url":"https://github.com/Gozala","followers_url":"https://api.github.com/users/Gozala/followers","following_url":"https://api.github.com/users/Gozala/following{/other_user}","gists_url":"https://api.github.com/users/Gozala/gists{/gist_id}","starred_url":"https://api.github.com/users/Gozala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gozala/subscriptions","organizations_url":"https://api.github.com/users/Gozala/orgs","repos_url":"https://api.github.com/users/Gozala/repos","events_url":"https://api.github.com/users/Gozala/events{/privacy}","received_events_url":"https://api.github.com/users/Gozala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-18T19:52:30Z","updated_at":"2016-08-18T20:47:42Z","closed_at":null,"body":"I am using this plugin in conjunction with [standard](http://standardjs.com) and run into issue with code like this:\r\n\r\n```js\r\nimport type {Action} from \"./module\"\r\nimport {init, view, update} from \"./module\"\r\n```\r\n\r\nI can not include Action in the same import as flow would complain that Action type is imported as value but if I don't then standard complains about duplicate errors. "},"comment":{"url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/comments/240851652","html_url":"https://github.com/gajus/eslint-plugin-flowtype/issues/72#issuecomment-240851652","issue_url":"https://api.github.com/repos/gajus/eslint-plugin-flowtype/issues/72","id":240851652,"user":{"login":"danharper","id":510740,"avatar_url":"https://avatars.githubusercontent.com/u/510740?v=3","gravatar_id":"","url":"https://api.github.com/users/danharper","html_url":"https://github.com/danharper","followers_url":"https://api.github.com/users/danharper/followers","following_url":"https://api.github.com/users/danharper/following{/other_user}","gists_url":"https://api.github.com/users/danharper/gists{/gist_id}","starred_url":"https://api.github.com/users/danharper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danharper/subscriptions","organizations_url":"https://api.github.com/users/danharper/orgs","repos_url":"https://api.github.com/users/danharper/repos","events_url":"https://api.github.com/users/danharper/events{/privacy}","received_events_url":"https://api.github.com/users/danharper/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T20:47:42Z","updated_at":"2016-08-18T20:47:42Z","body":"This isn't an issue with this plugin, it's because ESLint's normal `no-duplicate-imports` doesn't support Flow type imports.\r\n\r\nUse [`eslint-plugin-import`](https://github.com/benmosher/eslint-plugin-import) with their [`import/no-duplicates`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md) rule instead.\r\n\r\nI don't use Standard, so not sure how much you can configure that."}}
{"actor":{"display_login":"danharper"}}