{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6288","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6288/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6288/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6288/events","html_url":"https://github.com/eslint/eslint/pull/6288","id":157548047,"number":6288,"title":"Fix: no-useless-rename handles ExperimentalRestProperty (fixes #6284)","user":{"login":"platinumazure","id":284282,"avatar_url":"https://avatars.githubusercontent.com/u/284282?v=3","gravatar_id":"","url":"https://api.github.com/users/platinumazure","html_url":"https://github.com/platinumazure","followers_url":"https://api.github.com/users/platinumazure/followers","following_url":"https://api.github.com/users/platinumazure/following{/other_user}","gists_url":"https://api.github.com/users/platinumazure/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumazure/subscriptions","organizations_url":"https://api.github.com/users/platinumazure/orgs","repos_url":"https://api.github.com/users/platinumazure/repos","events_url":"https://api.github.com/users/platinumazure/events{/privacy}","received_events_url":"https://api.github.com/users/platinumazure/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/CLA:%20Valid","name":"CLA: Valid","color":"007700"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-05-30T19:31:40Z","updated_at":"2016-05-31T20:23:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/6288","html_url":"https://github.com/eslint/eslint/pull/6288","diff_url":"https://github.com/eslint/eslint/pull/6288.diff","patch_url":"https://github.com/eslint/eslint/pull/6288.patch"},"body":"I had a couple of options here-- either compare the type explicitly, or just look for the absence of a `key` property. I went with the former to be safe, but I can certainly amend to the latter if people think that is better.\r\n\r\nAt this point I've only handled destructuring-- not sure yet if this is an issue in import or export. I'll investigate that and update this PR if needed. (EDIT: Seems those use a `*` token instead. In addition, that seems to be standard ES2015. So I assume we're good-- speak up if I missed something.)"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/222808575","html_url":"https://github.com/eslint/eslint/pull/6288#issuecomment-222808575","issue_url":"https://api.github.com/repos/eslint/eslint/issues/6288","id":222808575,"user":{"login":"kaicataldo","id":7041728,"avatar_url":"https://avatars.githubusercontent.com/u/7041728?v=3","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T20:23:11Z","updated_at":"2016-05-31T20:23:11Z","body":"I see - thanks for explaining. My inclination would be to remove the TODO line"}}
{"actor":{"display_login":"kaicataldo"}}