payload: {"action":"opened","number":15146,"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/15146","id":262318151,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYyMzE4MTUx","html_url":"https://github.com/facebook/react/pull/15146","diff_url":"https://github.com/facebook/react/pull/15146.diff","patch_url":"https://github.com/facebook/react/pull/15146.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/15146","number":15146,"state":"open","locked":false,"title":"feat(eslint-plugin-react-hooks): autofix inject deps on useMemo or useCallback","user":{"login":"RedTn","id":3923164,"node_id":"MDQ6VXNlcjM5MjMxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3923164?v=4","gravatar_id":"","url":"https://api.github.com/users/RedTn","html_url":"https://github.com/RedTn","followers_url":"https://api.github.com/users/RedTn/followers","following_url":"https://api.github.com/users/RedTn/following{/other_user}","gists_url":"https://api.github.com/users/RedTn/gists{/gist_id}","starred_url":"https://api.github.com/users/RedTn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedTn/subscriptions","organizations_url":"https://api.github.com/users/RedTn/orgs","repos_url":"https://api.github.com/users/RedTn/repos","events_url":"https://api.github.com/users/RedTn/events{/privacy}","received_events_url":"https://api.github.com/users/RedTn/received_events","type":"User","site_admin":false},"body":"This feat injects dependencies onto useMemo/useCallback if the second argument is not provided and it has a dependency.\r\nI was thinking not to break code that already uses useMemo without the second argument, that the fix shouldn't be applied unless the developer explicitly wants that change, but I'm open to better ideas.\r\nIdeally there would also be a fix option where it just removes the useMemo/useCallback hook if there are no deps required","created_at":"2019-03-19T05:44:20Z","updated_at":"2019-03-19T05:44:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/15146/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/15146/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/15146/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/e5c00a5e5617fa8b5f076cfa0408df677be32e06","head":{"label":"RedTn:feat/eslint-missing-deps-autofix","ref":"feat/eslint-missing-deps-autofix","sha":"e5c00a5e5617fa8b5f076cfa0408df677be32e06","user":{"login":"RedTn","id":3923164,"node_id":"MDQ6VXNlcjM5MjMxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3923164?v=4","gravatar_id":"","url":"https://api.github.com/users/RedTn","html_url":"https://github.com/RedTn","followers_url":"https://api.github.com/users/RedTn/followers","following_url":"https://api.github.com/users/RedTn/following{/other_user}","gists_url":"https://api.github.com/users/RedTn/gists{/gist_id}","starred_url":"https://api.github.com/users/RedTn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedTn/subscriptions","organizations_url":"https://api.github.com/users/RedTn/orgs","repos_url":"https://api.github.com/users/RedTn/repos","events_url":"https://api.github.com/users/RedTn/events{/privacy}","received_events_url":"https://api.github.com/users/RedTn/received_events","type":"User","site_admin":false},"repo":{"id":176070060,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYwNzAwNjA=","name":"react","full_name":"RedTn/react","private":false,"owner":{"login":"RedTn","id":3923164,"node_id":"MDQ6VXNlcjM5MjMxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3923164?v=4","gravatar_id":"","url":"https://api.github.com/users/RedTn","html_url":"https://github.com/RedTn","followers_url":"https://api.github.com/users/RedTn/followers","following_url":"https://api.github.com/users/RedTn/following{/other_user}","gists_url":"https://api.github.com/users/RedTn/gists{/gist_id}","starred_url":"https://api.github.com/users/RedTn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedTn/subscriptions","organizations_url":"https://api.github.com/users/RedTn/orgs","repos_url":"https://api.github.com/users/RedTn/repos","events_url":"https://api.github.com/users/RedTn/events{/privacy}","received_events_url":"https://api.github.com/users/RedTn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/RedTn/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/RedTn/react","forks_url":"https://api.github.com/repos/RedTn/react/forks","keys_url":"https://api.github.com/repos/RedTn/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedTn/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedTn/react/teams","hooks_url":"https://api.github.com/repos/RedTn/react/hooks","issue_events_url":"https://api.github.com/repos/RedTn/react/issues/events{/number}","events_url":"https://api.github.com/repos/RedTn/react/events","assignees_url":"https://api.github.com/repos/RedTn/react/assignees{/user}","branches_url":"https://api.github.com/repos/RedTn/react/branches{/branch}","tags_url":"https://api.github.com/repos/RedTn/react/tags","blobs_url":"https://api.github.com/repos/RedTn/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedTn/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedTn/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedTn/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedTn/react/statuses/{sha}","languages_url":"https://api.github.com/repos/RedTn/react/languages","stargazers_url":"https://api.github.com/repos/RedTn/react/stargazers","contributors_url":"https://api.github.com/repos/RedTn/react/contributors","subscribers_url":"https://api.github.com/repos/RedTn/react/subscribers","subscription_url":"https://api.github.com/repos/RedTn/react/subscription","commits_url":"https://api.github.com/repos/RedTn/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedTn/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedTn/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedTn/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedTn/react/contents/{+path}","compare_url":"https://api.github.com/repos/RedTn/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedTn/react/merges","archive_url":"https://api.github.com/repos/RedTn/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedTn/react/downloads","issues_url":"https://api.github.com/repos/RedTn/react/issues{/number}","pulls_url":"https://api.github.com/repos/RedTn/react/pulls{/number}","milestones_url":"https://api.github.com/repos/RedTn/react/milestones{/number}","notifications_url":"https://api.github.com/repos/RedTn/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedTn/react/labels{/name}","releases_url":"https://api.github.com/repos/RedTn/react/releases{/id}","deployments_url":"https://api.github.com/repos/RedTn/react/deployments","created_at":"2019-03-17T07:33:27Z","updated_at":"2019-03-17T07:33:32Z","pushed_at":"2019-03-19T05:41:34Z","git_url":"git://github.com/RedTn/react.git","ssh_url":"git@github.com:RedTn/react.git","clone_url":"https://github.com/RedTn/react.git","svn_url":"https://github.com/RedTn/react","homepage":"https://reactjs.org","size":141101,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"1e3364e764ff8c90c082b90f688e6553c3811366","user":{"login":"facebook","id":69631,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NjMx","avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI3MDI1MA==","name":"react","full_name":"facebook/react","private":false,"owner":{"login":"facebook","id":69631,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NjMx","avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/facebook/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/react/deployments","created_at":"2013-05-24T16:15:54Z","updated_at":"2019-03-19T05:38:10Z","pushed_at":"2019-03-19T01:38:39Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://reactjs.org","size":141123,"stargazers_count":124708,"watchers_count":124708,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22650,"mirror_url":null,"archived":false,"open_issues_count":588,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":22650,"open_issues":588,"watchers":124708,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/15146"},"html":{"href":"https://github.com/facebook/react/pull/15146"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/15146"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/15146/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/15146/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/15146/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/e5c00a5e5617fa8b5f076cfa0408df677be32e06"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":250,"deletions":89,"changed_files":2}}
other: {"actor":{"display_login":"RedTn"}}