{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/7151","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/7151/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/7151/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/7151/events","html_url":"https://github.com/eslint/eslint/pull/7151","id":176808905,"number":7151,"title":"Update: Let `no-restricted-properties` check destructuring (fixes #7147)","user":{"login":"not-an-aardvark","id":11638619,"avatar_url":"https://avatars.githubusercontent.com/u/11638619?v=3","gravatar_id":"","url":"https://api.github.com/users/not-an-aardvark","html_url":"https://github.com/not-an-aardvark","followers_url":"https://api.github.com/users/not-an-aardvark/followers","following_url":"https://api.github.com/users/not-an-aardvark/following{/other_user}","gists_url":"https://api.github.com/users/not-an-aardvark/gists{/gist_id}","starred_url":"https://api.github.com/users/not-an-aardvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/not-an-aardvark/subscriptions","organizations_url":"https://api.github.com/users/not-an-aardvark/orgs","repos_url":"https://api.github.com/users/not-an-aardvark/repos","events_url":"https://api.github.com/users/not-an-aardvark/events{/privacy}","received_events_url":"https://api.github.com/users/not-an-aardvark/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,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-14T03:58:45Z","updated_at":"2016-09-14T04:18:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/7151","html_url":"https://github.com/eslint/eslint/pull/7151","diff_url":"https://github.com/eslint/eslint/pull/7151.diff","patch_url":"https://github.com/eslint/eslint/pull/7151.patch"},"body":"**What is the purpose of this pull request? (put an \"X\" next to item)**\r\n\r\n```\r\n[ ] Documentation update\r\n[x] Bug fix ([template](https://github.com/eslint/eslint/blob/master/templates/bug-report.md))\r\n[ ] New rule ([template](https://github.com/eslint/eslint/blob/master/templates/rule-proposal.md))\r\n[ ] Changes an existing rule ([template](https://github.com/eslint/eslint/blob/master/templates/rule-change-proposal.md))\r\n[ ] Add autofixing to a rule\r\n[ ] Add a CLI option\r\n[ ] Add something to the core\r\n[ ] Other, please explain:\r\n```\r\n\r\nSee #7147 for the template answers.\r\n\r\n**Please check each item to ensure your pull request is ready:**\r\n\r\n- [x] I've read the [pull request guide](http://eslint.org/docs/developer-guide/contributing/pull-requests)\r\n- [x] I've included tests for my change\r\n- [x] I've updated documentation for my change (if appropriate)\r\n\r\n**What changes did you make? (Give an overview)**\r\n\r\nThis allows `no-restricted-properties` to report errors from destructuring patterns.\r\n\r\n**Is there anything you'd like reviewers to focus on?**\r\n\r\nNothing in particular.\r\n\r\nThis PR is built on top of the commit from #7139, since it includes some test cases that correspond to the options in #7139. It shouldn't be merged until after #7139 is merged.\r\n\r\nIn the meantime, see [here](https://github.com/eslint/eslint/pull/7151/commits/d62d3c9bba73cb5ebdc10dd10cb8ccc4fdd804ec) for the diff that only includes changes from this PR."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/246902316","html_url":"https://github.com/eslint/eslint/pull/7151#issuecomment-246902316","issue_url":"https://api.github.com/repos/eslint/eslint/issues/7151","id":246902316,"user":{"login":"eslintbot","id":13383618,"avatar_url":"https://avatars.githubusercontent.com/u/13383618?v=3","gravatar_id":"","url":"https://api.github.com/users/eslintbot","html_url":"https://github.com/eslintbot","followers_url":"https://api.github.com/users/eslintbot/followers","following_url":"https://api.github.com/users/eslintbot/following{/other_user}","gists_url":"https://api.github.com/users/eslintbot/gists{/gist_id}","starred_url":"https://api.github.com/users/eslintbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslintbot/subscriptions","organizations_url":"https://api.github.com/users/eslintbot/orgs","repos_url":"https://api.github.com/users/eslintbot/repos","events_url":"https://api.github.com/users/eslintbot/events{/privacy}","received_events_url":"https://api.github.com/users/eslintbot/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T04:18:53Z","updated_at":"2016-09-14T04:18:53Z","body":"LGTM"}}
{"actor":{"display_login":"eslintbot"}}