{"action":"closed","number":9692,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/9692","id":156865327,"html_url":"https://github.com/eslint/eslint/pull/9692","diff_url":"https://github.com/eslint/eslint/pull/9692.diff","patch_url":"https://github.com/eslint/eslint/pull/9692.patch","issue_url":"https://api.github.com/repos/eslint/eslint/issues/9692","number":9692,"state":"closed","locked":false,"title":"Breaking: Make require('eslint').linter non-enumerable (fixes #9270)","user":{"login":"j-f1","id":25517624,"avatar_url":"https://avatars2.githubusercontent.com/u/25517624?v=4","gravatar_id":"","url":"https://api.github.com/users/j-f1","html_url":"https://github.com/j-f1","followers_url":"https://api.github.com/users/j-f1/followers","following_url":"https://api.github.com/users/j-f1/following{/other_user}","gists_url":"https://api.github.com/users/j-f1/gists{/gist_id}","starred_url":"https://api.github.com/users/j-f1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-f1/subscriptions","organizations_url":"https://api.github.com/users/j-f1/orgs","repos_url":"https://api.github.com/users/j-f1/repos","events_url":"https://api.github.com/users/j-f1/events{/privacy}","received_events_url":"https://api.github.com/users/j-f1/received_events","type":"User","site_admin":false},"body":"<!--\r\n    ESLint adheres to the [JS Foundation Code of Conduct](https://js.foundation/community/code-of-conduct).\r\n-->\r\n\r\n**What is the purpose of this pull request? (put an \"X\" next to item)**\r\n\r\n[ ] Documentation update\r\n[ ] Bug fix ([template](https://raw.githubusercontent.com/eslint/eslint/master/templates/bug-report.md))\r\n[ ] New rule ([template](https://raw.githubusercontent.com/eslint/eslint/master/templates/rule-proposal.md))\r\n[ ] Changes an existing rule ([template](https://raw.githubusercontent.com/eslint/eslint/master/templates/rule-change-proposal.md))\r\n[ ] Add autofixing to a rule\r\n[ ] Add a CLI option\r\n[x] Add something to the core\r\n[ ] Other, please explain:\r\n\r\n<!--\r\n    If the item you've checked above has a template, please paste the template questions below and answer them. (If this pull request is addressing an issue, you can just paste a link to the issue here instead.)\r\n-->\r\n\r\n#9270\r\n\r\n<!--\r\n    Please ensure your pull request is ready:\r\n\r\n    - Read the pull request guide (https://eslint.org/docs/developer-guide/contributing/pull-requests)\r\n    - Include tests for this change\r\n    - Update documentation for this change (if appropriate)\r\n-->\r\n\r\n<!--\r\n    The following is required for all pull requests:\r\n-->\r\n\r\n**What changes did you make? (Give an overview)**\r\nI  made `require('eslint').linter` non-enumerable so people aren’t tempted to use it.\r\n\r\n**Is there anything you'd like reviewers to focus on?**\r\nIs this actually a breaking change? The ESLint API is small enough that I doubt anyone uses `Object.keys` on it, and it would be unfortunate to make this wait until v5, which would probably push the deprecation date back another major version.\r\n\r\n","created_at":"2017-12-06T23:15:57Z","updated_at":"2018-03-22T22:13:30Z","closed_at":"2018-03-22T22:13:30Z","merged_at":"2018-03-22T22:13:29Z","merge_commit_sha":"c383bc57f49c3f9f5a263fcc3feb3609e787021f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":131106229,"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc","default":false},{"id":185518888,"url":"https://api.github.com/repos/eslint/eslint/labels/breaking","name":"breaking","color":"e11d21","default":false},{"id":82922548,"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8","default":false},{"id":45711352,"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/eslint/eslint/milestones/18","html_url":"https://github.com/eslint/eslint/milestone/18","labels_url":"https://api.github.com/repos/eslint/eslint/milestones/18/labels","id":2068967,"number":18,"title":"v5.0.0","description":"Closed in favor of https://github.com/eslint/eslint/projects/4","creator":{"login":"vitorbal","id":626038,"avatar_url":"https://avatars2.githubusercontent.com/u/626038?v=4","gravatar_id":"","url":"https://api.github.com/users/vitorbal","html_url":"https://github.com/vitorbal","followers_url":"https://api.github.com/users/vitorbal/followers","following_url":"https://api.github.com/users/vitorbal/following{/other_user}","gists_url":"https://api.github.com/users/vitorbal/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorbal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorbal/subscriptions","organizations_url":"https://api.github.com/users/vitorbal/orgs","repos_url":"https://api.github.com/users/vitorbal/repos","events_url":"https://api.github.com/users/vitorbal/events{/privacy}","received_events_url":"https://api.github.com/users/vitorbal/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"closed","created_at":"2016-10-13T22:23:21Z","updated_at":"2018-03-22T22:13:30Z","due_on":null,"closed_at":"2018-02-02T15:52:27Z"},"commits_url":"https://api.github.com/repos/eslint/eslint/pulls/9692/commits","review_comments_url":"https://api.github.com/repos/eslint/eslint/pulls/9692/comments","review_comment_url":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/9692/comments","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/776868934dd3d61cd7fe4eb9ddbf8f98a9842ef2","head":{"label":"j-f1:hide-eslint.linter","ref":"hide-eslint.linter","sha":"776868934dd3d61cd7fe4eb9ddbf8f98a9842ef2","user":{"login":"j-f1","id":25517624,"avatar_url":"https://avatars2.githubusercontent.com/u/25517624?v=4","gravatar_id":"","url":"https://api.github.com/users/j-f1","html_url":"https://github.com/j-f1","followers_url":"https://api.github.com/users/j-f1/followers","following_url":"https://api.github.com/users/j-f1/following{/other_user}","gists_url":"https://api.github.com/users/j-f1/gists{/gist_id}","starred_url":"https://api.github.com/users/j-f1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-f1/subscriptions","organizations_url":"https://api.github.com/users/j-f1/orgs","repos_url":"https://api.github.com/users/j-f1/repos","events_url":"https://api.github.com/users/j-f1/events{/privacy}","received_events_url":"https://api.github.com/users/j-f1/received_events","type":"User","site_admin":false},"repo":{"id":90163461,"name":"forked-eslint","full_name":"j-f1/forked-eslint","owner":{"login":"j-f1","id":25517624,"avatar_url":"https://avatars2.githubusercontent.com/u/25517624?v=4","gravatar_id":"","url":"https://api.github.com/users/j-f1","html_url":"https://github.com/j-f1","followers_url":"https://api.github.com/users/j-f1/followers","following_url":"https://api.github.com/users/j-f1/following{/other_user}","gists_url":"https://api.github.com/users/j-f1/gists{/gist_id}","starred_url":"https://api.github.com/users/j-f1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-f1/subscriptions","organizations_url":"https://api.github.com/users/j-f1/orgs","repos_url":"https://api.github.com/users/j-f1/repos","events_url":"https://api.github.com/users/j-f1/events{/privacy}","received_events_url":"https://api.github.com/users/j-f1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/j-f1/forked-eslint","description":":fork: A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":true,"url":"https://api.github.com/repos/j-f1/forked-eslint","forks_url":"https://api.github.com/repos/j-f1/forked-eslint/forks","keys_url":"https://api.github.com/repos/j-f1/forked-eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j-f1/forked-eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j-f1/forked-eslint/teams","hooks_url":"https://api.github.com/repos/j-f1/forked-eslint/hooks","issue_events_url":"https://api.github.com/repos/j-f1/forked-eslint/issues/events{/number}","events_url":"https://api.github.com/repos/j-f1/forked-eslint/events","assignees_url":"https://api.github.com/repos/j-f1/forked-eslint/assignees{/user}","branches_url":"https://api.github.com/repos/j-f1/forked-eslint/branches{/branch}","tags_url":"https://api.github.com/repos/j-f1/forked-eslint/tags","blobs_url":"https://api.github.com/repos/j-f1/forked-eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j-f1/forked-eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j-f1/forked-eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/j-f1/forked-eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j-f1/forked-eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/j-f1/forked-eslint/languages","stargazers_url":"https://api.github.com/repos/j-f1/forked-eslint/stargazers","contributors_url":"https://api.github.com/repos/j-f1/forked-eslint/contributors","subscribers_url":"https://api.github.com/repos/j-f1/forked-eslint/subscribers","subscription_url":"https://api.github.com/repos/j-f1/forked-eslint/subscription","commits_url":"https://api.github.com/repos/j-f1/forked-eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/j-f1/forked-eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/j-f1/forked-eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/j-f1/forked-eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/j-f1/forked-eslint/contents/{+path}","compare_url":"https://api.github.com/repos/j-f1/forked-eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j-f1/forked-eslint/merges","archive_url":"https://api.github.com/repos/j-f1/forked-eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j-f1/forked-eslint/downloads","issues_url":"https://api.github.com/repos/j-f1/forked-eslint/issues{/number}","pulls_url":"https://api.github.com/repos/j-f1/forked-eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/j-f1/forked-eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/j-f1/forked-eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j-f1/forked-eslint/labels{/name}","releases_url":"https://api.github.com/repos/j-f1/forked-eslint/releases{/id}","deployments_url":"https://api.github.com/repos/j-f1/forked-eslint/deployments","created_at":"2017-05-03T15:17:47Z","updated_at":"2017-05-03T15:37:13Z","pushed_at":"2018-03-18T12:11:19Z","git_url":"git://github.com/j-f1/forked-eslint.git","ssh_url":"git@github.com:j-f1/forked-eslint.git","clone_url":"https://github.com/j-f1/forked-eslint.git","svn_url":"https://github.com/j-f1/forked-eslint","homepage":"http://eslint.org","size":17893,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eslint:master","ref":"master","sha":"d49d9d003579d0b11feab54ddac788b9526b3eec","user":{"login":"eslint","id":6019716,"avatar_url":"https://avatars3.githubusercontent.com/u/6019716?v=4","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"repo":{"id":11061773,"name":"eslint","full_name":"eslint/eslint","owner":{"login":"eslint","id":6019716,"avatar_url":"https://avatars3.githubusercontent.com/u/6019716?v=4","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eslint/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript","fork":false,"url":"https://api.github.com/repos/eslint/eslint","forks_url":"https://api.github.com/repos/eslint/eslint/forks","keys_url":"https://api.github.com/repos/eslint/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eslint/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eslint/eslint/teams","hooks_url":"https://api.github.com/repos/eslint/eslint/hooks","issue_events_url":"https://api.github.com/repos/eslint/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/eslint/eslint/events","assignees_url":"https://api.github.com/repos/eslint/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/eslint/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/eslint/eslint/tags","blobs_url":"https://api.github.com/repos/eslint/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eslint/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eslint/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/eslint/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/eslint/eslint/languages","stargazers_url":"https://api.github.com/repos/eslint/eslint/stargazers","contributors_url":"https://api.github.com/repos/eslint/eslint/contributors","subscribers_url":"https://api.github.com/repos/eslint/eslint/subscribers","subscription_url":"https://api.github.com/repos/eslint/eslint/subscription","commits_url":"https://api.github.com/repos/eslint/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/eslint/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/eslint/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/eslint/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/eslint/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/eslint/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eslint/eslint/merges","archive_url":"https://api.github.com/repos/eslint/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eslint/eslint/downloads","issues_url":"https://api.github.com/repos/eslint/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/eslint/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/eslint/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/eslint/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eslint/eslint/labels{/name}","releases_url":"https://api.github.com/repos/eslint/eslint/releases{/id}","deployments_url":"https://api.github.com/repos/eslint/eslint/deployments","created_at":"2013-06-29T23:59:48Z","updated_at":"2018-03-22T21:23:09Z","pushed_at":"2018-03-22T22:13:29Z","git_url":"git://github.com/eslint/eslint.git","ssh_url":"git@github.com:eslint/eslint.git","clone_url":"https://github.com/eslint/eslint.git","svn_url":"https://github.com/eslint/eslint","homepage":"https://eslint.org","size":17681,"stargazers_count":10902,"watchers_count":10902,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1892,"mirror_url":null,"archived":false,"open_issues_count":264,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1892,"open_issues":264,"watchers":10902,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eslint/eslint/pulls/9692"},"html":{"href":"https://github.com/eslint/eslint/pull/9692"},"issue":{"href":"https://api.github.com/repos/eslint/eslint/issues/9692"},"comments":{"href":"https://api.github.com/repos/eslint/eslint/issues/9692/comments"},"review_comments":{"href":"https://api.github.com/repos/eslint/eslint/pulls/9692/comments"},"review_comment":{"href":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eslint/eslint/pulls/9692/commits"},"statuses":{"href":"https://api.github.com/repos/eslint/eslint/statuses/776868934dd3d61cd7fe4eb9ddbf8f98a9842ef2"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"not-an-aardvark","id":11638619,"avatar_url":"https://avatars2.githubusercontent.com/u/11638619?v=4","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},"comments":9,"review_comments":5,"maintainer_can_modify":false,"commits":3,"additions":13,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"not-an-aardvark"}}