{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/3187","repository_url":"https://api.github.com/repos/palantir/tslint","labels_url":"https://api.github.com/repos/palantir/tslint/issues/3187/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/3187/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/3187/events","html_url":"https://github.com/palantir/tslint/pull/3187","id":254169169,"number":3187,"title":"noUnusedVariableRule should apply the ignorePattern to imports","user":{"login":"brandf","id":877443,"avatar_url":"https://avatars2.githubusercontent.com/u/877443?v=4","gravatar_id":"","url":"https://api.github.com/users/brandf","html_url":"https://github.com/brandf","followers_url":"https://api.github.com/users/brandf/followers","following_url":"https://api.github.com/users/brandf/following{/other_user}","gists_url":"https://api.github.com/users/brandf/gists{/gist_id}","starred_url":"https://api.github.com/users/brandf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandf/subscriptions","organizations_url":"https://api.github.com/users/brandf/orgs","repos_url":"https://api.github.com/users/brandf/repos","events_url":"https://api.github.com/users/brandf/events{/privacy}","received_events_url":"https://api.github.com/users/brandf/received_events","type":"User","site_admin":false},"labels":[{"id":236421827,"url":"https://api.github.com/repos/palantir/tslint/labels/PR:%20waiting%20for%20author","name":"PR: waiting for author","color":"FBEA92","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-30T23:56:16Z","updated_at":"2017-09-22T02:40:35Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/palantir/tslint/pulls/3187","html_url":"https://github.com/palantir/tslint/pull/3187","diff_url":"https://github.com/palantir/tslint/pull/3187.diff","patch_url":"https://github.com/palantir/tslint/pull/3187.patch"},"body":"I have a import that I need to ignore (custom reactNamespace), however ignore-pattern is not applied to imports.\r\n\r\n#### PR checklist\r\n\r\n- [x] Addresses an existing issue: #3186\r\n- [x] New feature, bugfix, or enhancement\r\n  - [x] Includes tests\r\n- [x] Documentation update\r\n\r\n#### Overview of change:\r\napplies the importPattern to importNames (in addition to the existing behavior)\r\n\r\n#### Is there anything you'd like reviewers to focus on?\r\nnot sure if importName.text is the correct thing to test against, but it seems to work.\r\n"},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/331335007","html_url":"https://github.com/palantir/tslint/pull/3187#issuecomment-331335007","issue_url":"https://api.github.com/repos/palantir/tslint/issues/3187","id":331335007,"user":{"login":"brandf","id":877443,"avatar_url":"https://avatars2.githubusercontent.com/u/877443?v=4","gravatar_id":"","url":"https://api.github.com/users/brandf","html_url":"https://github.com/brandf","followers_url":"https://api.github.com/users/brandf/followers","following_url":"https://api.github.com/users/brandf/following{/other_user}","gists_url":"https://api.github.com/users/brandf/gists{/gist_id}","starred_url":"https://api.github.com/users/brandf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandf/subscriptions","organizations_url":"https://api.github.com/users/brandf/orgs","repos_url":"https://api.github.com/users/brandf/repos","events_url":"https://api.github.com/users/brandf/events{/privacy}","received_events_url":"https://api.github.com/users/brandf/received_events","type":"User","site_admin":false},"created_at":"2017-09-22T02:40:35Z","updated_at":"2017-09-22T02:40:35Z","author_association":"NONE","body":"After looking at other PR's, the CI failure appears to be unrelated to my change.  It's just a coincidence that it was failing in the rule I modified :-/\r\n\r\nFor example, same failure here:\r\nhttps://github.com/palantir/tslint/pull/3238"}}
{"actor":{"display_login":"brandf"}}