{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/890","labels_url":"https://api.github.com/repos/palantir/tslint/issues/890/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/890/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/890/events","html_url":"https://github.com/palantir/tslint/issues/890","id":123332346,"number":890,"title":"`no-use-before-declare` on import names","user":{"login":"ShadowManu","id":5491749,"avatar_url":"https://avatars.githubusercontent.com/u/5491749?v=3","gravatar_id":"","url":"https://api.github.com/users/ShadowManu","html_url":"https://github.com/ShadowManu","followers_url":"https://api.github.com/users/ShadowManu/followers","following_url":"https://api.github.com/users/ShadowManu/following{/other_user}","gists_url":"https://api.github.com/users/ShadowManu/gists{/gist_id}","starred_url":"https://api.github.com/users/ShadowManu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShadowManu/subscriptions","organizations_url":"https://api.github.com/users/ShadowManu/orgs","repos_url":"https://api.github.com/users/ShadowManu/repos","events_url":"https://api.github.com/users/ShadowManu/events{/privacy}","received_events_url":"https://api.github.com/users/ShadowManu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T18:26:24Z","updated_at":"2015-12-22T04:24:26Z","closed_at":"2015-12-22T04:24:25Z","body":"Given the following snippet\r\n```\r\nimport {Model as BModel, Collection as BCollection} from 'bookshelf';\r\nimport {Model, Collection} from './bookshelf-extras';\r\n```\r\n\r\nThe linter bugs about using the `Model` and `Collection` bindings on line 1 before being declared on line 2. The workaround is flipping the order between the 2, but I believe this is still a bug, since both bindings are not directly related (at least not by language rules)."},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/166502254","html_url":"https://github.com/palantir/tslint/issues/890#issuecomment-166502254","issue_url":"https://api.github.com/repos/palantir/tslint/issues/890","id":166502254,"user":{"login":"JKillian","id":1400151,"avatar_url":"https://avatars.githubusercontent.com/u/1400151?v=3","gravatar_id":"","url":"https://api.github.com/users/JKillian","html_url":"https://github.com/JKillian","followers_url":"https://api.github.com/users/JKillian/followers","following_url":"https://api.github.com/users/JKillian/following{/other_user}","gists_url":"https://api.github.com/users/JKillian/gists{/gist_id}","starred_url":"https://api.github.com/users/JKillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKillian/subscriptions","organizations_url":"https://api.github.com/users/JKillian/orgs","repos_url":"https://api.github.com/users/JKillian/repos","events_url":"https://api.github.com/users/JKillian/events{/privacy}","received_events_url":"https://api.github.com/users/JKillian/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T04:24:25Z","updated_at":"2015-12-22T04:24:25Z","body":"Hi @ShadowManu, thanks for the bug report! This is essentially a duplicate of #778 so I'm going to close this issue."}}