{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2996","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2996/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2996/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2996/events","html_url":"https://github.com/eslint/eslint/pull/2996","id":95065414,"number":2996,"title":"New: the `prefer-reflect` rule (fixes #2939)","user":{"login":"keithamus","id":118266,"avatar_url":"https://avatars.githubusercontent.com/u/118266?v=3","gravatar_id":"","url":"https://api.github.com/users/keithamus","html_url":"https://github.com/keithamus","followers_url":"https://api.github.com/users/keithamus/followers","following_url":"https://api.github.com/users/keithamus/following{/other_user}","gists_url":"https://api.github.com/users/keithamus/gists{/gist_id}","starred_url":"https://api.github.com/users/keithamus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithamus/subscriptions","organizations_url":"https://api.github.com/users/keithamus/orgs","repos_url":"https://api.github.com/users/keithamus/repos","events_url":"https://api.github.com/users/keithamus/events{/privacy}","received_events_url":"https://api.github.com/users/keithamus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-14T23:23:40Z","updated_at":"2015-07-15T08:04:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/2996","html_url":"https://github.com/eslint/eslint/pull/2996","diff_url":"https://github.com/eslint/eslint/pull/2996.diff","patch_url":"https://github.com/eslint/eslint/pull/2996.patch"},"body":"This PR adds a rule to warn when the user is using \"effectively deprecated\" methods - which Reflect.* replaces, as discussed in #2939. Fixes #2939.\r\n\r\nAs the docs/tests suggest, each section can be disabled - meaning the user can configure this how they need to, for example if they want to use reflect for all but the `delete` operator, then they can configure it as `[2, \"delete\"]`.\r\n\r\nLet me know if you need anything else from me to merge this. \r\n\r\nOh, also, so close!\r\n<img width=\"326\" alt=\"screen shot 2015-07-15 at 00 22 52\" src=\"https://cloud.githubusercontent.com/assets/118266/8687392/b8d547dc-2a87-11e5-8da5-2ea4cd85e677.PNG\">\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/121523102","html_url":"https://github.com/eslint/eslint/pull/2996#issuecomment-121523102","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2996","id":121523102,"user":{"login":"keithamus","id":118266,"avatar_url":"https://avatars.githubusercontent.com/u/118266?v=3","gravatar_id":"","url":"https://api.github.com/users/keithamus","html_url":"https://github.com/keithamus","followers_url":"https://api.github.com/users/keithamus/followers","following_url":"https://api.github.com/users/keithamus/following{/other_user}","gists_url":"https://api.github.com/users/keithamus/gists{/gist_id}","starred_url":"https://api.github.com/users/keithamus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithamus/subscriptions","organizations_url":"https://api.github.com/users/keithamus/orgs","repos_url":"https://api.github.com/users/keithamus/repos","events_url":"https://api.github.com/users/keithamus/events{/privacy}","received_events_url":"https://api.github.com/users/keithamus/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T08:04:15Z","updated_at":"2015-07-15T08:04:15Z","body":"Rebased, fixed tests and changed rule options to be `{exceptions: [...]}` as per @nzakas instruction"}}