{"action":"closed","number":55,"pull_request":{"url":"https://api.github.com/repos/mgechev/revive/pulls/55","id":209310071,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MzEwMDcx","html_url":"https://github.com/mgechev/revive/pull/55","diff_url":"https://github.com/mgechev/revive/pull/55.diff","patch_url":"https://github.com/mgechev/revive/pull/55.patch","issue_url":"https://api.github.com/repos/mgechev/revive/issues/55","number":55,"state":"closed","locked":false,"title":"constant-logical-expr (new rule)","user":{"login":"chavacava","id":25788468,"node_id":"MDQ6VXNlcjI1Nzg4NDY4","avatar_url":"https://avatars2.githubusercontent.com/u/25788468?v=4","gravatar_id":"","url":"https://api.github.com/users/chavacava","html_url":"https://github.com/chavacava","followers_url":"https://api.github.com/users/chavacava/followers","following_url":"https://api.github.com/users/chavacava/following{/other_user}","gists_url":"https://api.github.com/users/chavacava/gists{/gist_id}","starred_url":"https://api.github.com/users/chavacava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chavacava/subscriptions","organizations_url":"https://api.github.com/users/chavacava/orgs","repos_url":"https://api.github.com/users/chavacava/repos","events_url":"https://api.github.com/users/chavacava/events{/privacy}","received_events_url":"https://api.github.com/users/chavacava/received_events","type":"User","site_admin":false},"body":"Warns on suspicious logical expressions. \r\nThis (first) version of the rule copes with cases where operands of a logical/relational operator are the same.\r\n\r\nInspired by https://twitter.com/francesc/status/1029902180860346368","created_at":"2018-08-18T12:32:27Z","updated_at":"2018-08-23T18:45:11Z","closed_at":"2018-08-23T18:45:10Z","merged_at":"2018-08-23T18:45:10Z","merge_commit_sha":"81bdff4472383934bf3800d5c0b81fde3ec10f9d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mgechev/revive/pulls/55/commits","review_comments_url":"https://api.github.com/repos/mgechev/revive/pulls/55/comments","review_comment_url":"https://api.github.com/repos/mgechev/revive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mgechev/revive/issues/55/comments","statuses_url":"https://api.github.com/repos/mgechev/revive/statuses/ba7722e8607a955c742780ec797a3eb0231ad234","head":{"label":"chavacava:rule-suspicious-logical-expr","ref":"rule-suspicious-logical-expr","sha":"ba7722e8607a955c742780ec797a3eb0231ad234","user":{"login":"chavacava","id":25788468,"node_id":"MDQ6VXNlcjI1Nzg4NDY4","avatar_url":"https://avatars2.githubusercontent.com/u/25788468?v=4","gravatar_id":"","url":"https://api.github.com/users/chavacava","html_url":"https://github.com/chavacava","followers_url":"https://api.github.com/users/chavacava/followers","following_url":"https://api.github.com/users/chavacava/following{/other_user}","gists_url":"https://api.github.com/users/chavacava/gists{/gist_id}","starred_url":"https://api.github.com/users/chavacava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chavacava/subscriptions","organizations_url":"https://api.github.com/users/chavacava/orgs","repos_url":"https://api.github.com/users/chavacava/repos","events_url":"https://api.github.com/users/chavacava/events{/privacy}","received_events_url":"https://api.github.com/users/chavacava/received_events","type":"User","site_admin":false},"repo":{"id":141329003,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzMjkwMDM=","name":"revive","full_name":"chavacava/revive","owner":{"login":"chavacava","id":25788468,"node_id":"MDQ6VXNlcjI1Nzg4NDY4","avatar_url":"https://avatars2.githubusercontent.com/u/25788468?v=4","gravatar_id":"","url":"https://api.github.com/users/chavacava","html_url":"https://github.com/chavacava","followers_url":"https://api.github.com/users/chavacava/followers","following_url":"https://api.github.com/users/chavacava/following{/other_user}","gists_url":"https://api.github.com/users/chavacava/gists{/gist_id}","starred_url":"https://api.github.com/users/chavacava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chavacava/subscriptions","organizations_url":"https://api.github.com/users/chavacava/orgs","repos_url":"https://api.github.com/users/chavacava/repos","events_url":"https://api.github.com/users/chavacava/events{/privacy}","received_events_url":"https://api.github.com/users/chavacava/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chavacava/revive","description":"🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement of golint.","fork":true,"url":"https://api.github.com/repos/chavacava/revive","forks_url":"https://api.github.com/repos/chavacava/revive/forks","keys_url":"https://api.github.com/repos/chavacava/revive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chavacava/revive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chavacava/revive/teams","hooks_url":"https://api.github.com/repos/chavacava/revive/hooks","issue_events_url":"https://api.github.com/repos/chavacava/revive/issues/events{/number}","events_url":"https://api.github.com/repos/chavacava/revive/events","assignees_url":"https://api.github.com/repos/chavacava/revive/assignees{/user}","branches_url":"https://api.github.com/repos/chavacava/revive/branches{/branch}","tags_url":"https://api.github.com/repos/chavacava/revive/tags","blobs_url":"https://api.github.com/repos/chavacava/revive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chavacava/revive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chavacava/revive/git/refs{/sha}","trees_url":"https://api.github.com/repos/chavacava/revive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chavacava/revive/statuses/{sha}","languages_url":"https://api.github.com/repos/chavacava/revive/languages","stargazers_url":"https://api.github.com/repos/chavacava/revive/stargazers","contributors_url":"https://api.github.com/repos/chavacava/revive/contributors","subscribers_url":"https://api.github.com/repos/chavacava/revive/subscribers","subscription_url":"https://api.github.com/repos/chavacava/revive/subscription","commits_url":"https://api.github.com/repos/chavacava/revive/commits{/sha}","git_commits_url":"https://api.github.com/repos/chavacava/revive/git/commits{/sha}","comments_url":"https://api.github.com/repos/chavacava/revive/comments{/number}","issue_comment_url":"https://api.github.com/repos/chavacava/revive/issues/comments{/number}","contents_url":"https://api.github.com/repos/chavacava/revive/contents/{+path}","compare_url":"https://api.github.com/repos/chavacava/revive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chavacava/revive/merges","archive_url":"https://api.github.com/repos/chavacava/revive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chavacava/revive/downloads","issues_url":"https://api.github.com/repos/chavacava/revive/issues{/number}","pulls_url":"https://api.github.com/repos/chavacava/revive/pulls{/number}","milestones_url":"https://api.github.com/repos/chavacava/revive/milestones{/number}","notifications_url":"https://api.github.com/repos/chavacava/revive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chavacava/revive/labels{/name}","releases_url":"https://api.github.com/repos/chavacava/revive/releases{/id}","deployments_url":"https://api.github.com/repos/chavacava/revive/deployments","created_at":"2018-07-17T18:35:10Z","updated_at":"2018-08-17T10:00:42Z","pushed_at":"2018-08-23T18:33:49Z","git_url":"git://github.com/chavacava/revive.git","ssh_url":"git@github.com:chavacava/revive.git","clone_url":"https://github.com/chavacava/revive.git","svn_url":"https://github.com/chavacava/revive","homepage":"http://revive.run","size":2854,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"mgechev:master","ref":"master","sha":"771aa23069213d278be95b346b864689bce9aeb3","user":{"login":"mgechev","id":455023,"node_id":"MDQ6VXNlcjQ1NTAyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/455023?v=4","gravatar_id":"","url":"https://api.github.com/users/mgechev","html_url":"https://github.com/mgechev","followers_url":"https://api.github.com/users/mgechev/followers","following_url":"https://api.github.com/users/mgechev/following{/other_user}","gists_url":"https://api.github.com/users/mgechev/gists{/gist_id}","starred_url":"https://api.github.com/users/mgechev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgechev/subscriptions","organizations_url":"https://api.github.com/users/mgechev/orgs","repos_url":"https://api.github.com/users/mgechev/repos","events_url":"https://api.github.com/users/mgechev/events{/privacy}","received_events_url":"https://api.github.com/users/mgechev/received_events","type":"User","site_admin":false},"repo":{"id":96237042,"node_id":"MDEwOlJlcG9zaXRvcnk5NjIzNzA0Mg==","name":"revive","full_name":"mgechev/revive","owner":{"login":"mgechev","id":455023,"node_id":"MDQ6VXNlcjQ1NTAyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/455023?v=4","gravatar_id":"","url":"https://api.github.com/users/mgechev","html_url":"https://github.com/mgechev","followers_url":"https://api.github.com/users/mgechev/followers","following_url":"https://api.github.com/users/mgechev/following{/other_user}","gists_url":"https://api.github.com/users/mgechev/gists{/gist_id}","starred_url":"https://api.github.com/users/mgechev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgechev/subscriptions","organizations_url":"https://api.github.com/users/mgechev/orgs","repos_url":"https://api.github.com/users/mgechev/repos","events_url":"https://api.github.com/users/mgechev/events{/privacy}","received_events_url":"https://api.github.com/users/mgechev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgechev/revive","description":"🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint.","fork":false,"url":"https://api.github.com/repos/mgechev/revive","forks_url":"https://api.github.com/repos/mgechev/revive/forks","keys_url":"https://api.github.com/repos/mgechev/revive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgechev/revive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgechev/revive/teams","hooks_url":"https://api.github.com/repos/mgechev/revive/hooks","issue_events_url":"https://api.github.com/repos/mgechev/revive/issues/events{/number}","events_url":"https://api.github.com/repos/mgechev/revive/events","assignees_url":"https://api.github.com/repos/mgechev/revive/assignees{/user}","branches_url":"https://api.github.com/repos/mgechev/revive/branches{/branch}","tags_url":"https://api.github.com/repos/mgechev/revive/tags","blobs_url":"https://api.github.com/repos/mgechev/revive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgechev/revive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgechev/revive/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgechev/revive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgechev/revive/statuses/{sha}","languages_url":"https://api.github.com/repos/mgechev/revive/languages","stargazers_url":"https://api.github.com/repos/mgechev/revive/stargazers","contributors_url":"https://api.github.com/repos/mgechev/revive/contributors","subscribers_url":"https://api.github.com/repos/mgechev/revive/subscribers","subscription_url":"https://api.github.com/repos/mgechev/revive/subscription","commits_url":"https://api.github.com/repos/mgechev/revive/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgechev/revive/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgechev/revive/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgechev/revive/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgechev/revive/contents/{+path}","compare_url":"https://api.github.com/repos/mgechev/revive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgechev/revive/merges","archive_url":"https://api.github.com/repos/mgechev/revive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgechev/revive/downloads","issues_url":"https://api.github.com/repos/mgechev/revive/issues{/number}","pulls_url":"https://api.github.com/repos/mgechev/revive/pulls{/number}","milestones_url":"https://api.github.com/repos/mgechev/revive/milestones{/number}","notifications_url":"https://api.github.com/repos/mgechev/revive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgechev/revive/labels{/name}","releases_url":"https://api.github.com/repos/mgechev/revive/releases{/id}","deployments_url":"https://api.github.com/repos/mgechev/revive/deployments","created_at":"2017-07-04T16:36:32Z","updated_at":"2018-08-23T18:10:20Z","pushed_at":"2018-08-23T18:45:10Z","git_url":"git://github.com/mgechev/revive.git","ssh_url":"git@github.com:mgechev/revive.git","clone_url":"https://github.com/mgechev/revive.git","svn_url":"https://github.com/mgechev/revive","homepage":"http://revive.run","size":2785,"stargazers_count":1128,"watchers_count":1128,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":32,"open_issues":3,"watchers":1128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mgechev/revive/pulls/55"},"html":{"href":"https://github.com/mgechev/revive/pull/55"},"issue":{"href":"https://api.github.com/repos/mgechev/revive/issues/55"},"comments":{"href":"https://api.github.com/repos/mgechev/revive/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/mgechev/revive/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/mgechev/revive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mgechev/revive/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/mgechev/revive/statuses/ba7722e8607a955c742780ec797a3eb0231ad234"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mgechev","id":455023,"node_id":"MDQ6VXNlcjQ1NTAyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/455023?v=4","gravatar_id":"","url":"https://api.github.com/users/mgechev","html_url":"https://github.com/mgechev","followers_url":"https://api.github.com/users/mgechev/followers","following_url":"https://api.github.com/users/mgechev/following{/other_user}","gists_url":"https://api.github.com/users/mgechev/gists{/gist_id}","starred_url":"https://api.github.com/users/mgechev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgechev/subscriptions","organizations_url":"https://api.github.com/users/mgechev/orgs","repos_url":"https://api.github.com/users/mgechev/repos","events_url":"https://api.github.com/users/mgechev/events{/privacy}","received_events_url":"https://api.github.com/users/mgechev/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":146,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"mgechev"}}