{"action":"created","comment":{"url":"https://api.github.com/repos/go-critic/go-critic/pulls/comments/194261188","pull_request_review_id":127400800,"id":194261188,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDI2MTE4OA==","diff_hunk":"@@ -7,16 +7,23 @@ import (\n \t\"github.com/Quasilyte/astcmp\"\n )\n \n-func appendCombineCheck(ctx *context) func(*ast.File) {\n-\treturn wrapBlockChecker(&appendCombineChecker{\n-\t\tbaseStmtListChecker: baseStmtListChecker{ctx: ctx},\n-\t})\n+func init() {\n+\taddChecker(appendCombineChecker{})\n }\n \n type appendCombineChecker struct {\n+\tstableChecker","path":"lint/append-combine_checker.go","position":13,"original_position":13,"commit_id":"81032abdaff9c9ba485b55d2bd4391593ef92a01","original_commit_id":"32bebf0d42b5273c0e5d117159537e51bd07bb56","user":{"login":"Quasilyte","id":6286655,"node_id":"MDQ6VXNlcjYyODY2NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6286655?v=4","gravatar_id":"","url":"https://api.github.com/users/Quasilyte","html_url":"https://github.com/Quasilyte","followers_url":"https://api.github.com/users/Quasilyte/followers","following_url":"https://api.github.com/users/Quasilyte/following{/other_user}","gists_url":"https://api.github.com/users/Quasilyte/gists{/gist_id}","starred_url":"https://api.github.com/users/Quasilyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quasilyte/subscriptions","organizations_url":"https://api.github.com/users/Quasilyte/orgs","repos_url":"https://api.github.com/users/Quasilyte/repos","events_url":"https://api.github.com/users/Quasilyte/events{/privacy}","received_events_url":"https://api.github.com/users/Quasilyte/received_events","type":"User","site_admin":false},"body":"Hmm. Please interpret `ruleInfo` as `checkFunc`. Our terminology is a bit messy here. We may cleanup it later. Exact names are not that relevant right now.","created_at":"2018-06-10T15:30:09Z","updated_at":"2018-06-10T15:30:09Z","html_url":"https://github.com/go-critic/go-critic/pull/184#discussion_r194261188","pull_request_url":"https://api.github.com/repos/go-critic/go-critic/pulls/184","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/comments/194261188"},"html":{"href":"https://github.com/go-critic/go-critic/pull/184#discussion_r194261188"},"pull_request":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/184"}},"in_reply_to_id":194259853},"pull_request":{"url":"https://api.github.com/repos/go-critic/go-critic/pulls/184","id":193829737,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzODI5NzM3","html_url":"https://github.com/go-critic/go-critic/pull/184","diff_url":"https://github.com/go-critic/go-critic/pull/184.diff","patch_url":"https://github.com/go-critic/go-critic/pull/184.patch","issue_url":"https://api.github.com/repos/go-critic/go-critic/issues/184","number":184,"state":"open","locked":false,"title":"lint: remove checker names map","user":{"login":"fexolm","id":14443401,"node_id":"MDQ6VXNlcjE0NDQzNDAx","avatar_url":"https://avatars3.githubusercontent.com/u/14443401?v=4","gravatar_id":"","url":"https://api.github.com/users/fexolm","html_url":"https://github.com/fexolm","followers_url":"https://api.github.com/users/fexolm/followers","following_url":"https://api.github.com/users/fexolm/following{/other_user}","gists_url":"https://api.github.com/users/fexolm/gists{/gist_id}","starred_url":"https://api.github.com/users/fexolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fexolm/subscriptions","organizations_url":"https://api.github.com/users/fexolm/orgs","repos_url":"https://api.github.com/users/fexolm/repos","events_url":"https://api.github.com/users/fexolm/events{/privacy}","received_events_url":"https://api.github.com/users/fexolm/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-10T14:43:12Z","updated_at":"2018-06-10T15:30:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2b7dc96e239bd7677c63c06be7ae8ef21dfcec0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":923832696,"node_id":"MDU6TGFiZWw5MjM4MzI2OTY=","url":"https://api.github.com/repos/go-critic/go-critic/labels/Don't%20merge","name":"Don't merge","color":"a30d03","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/go-critic/go-critic/pulls/184/commits","review_comments_url":"https://api.github.com/repos/go-critic/go-critic/pulls/184/comments","review_comment_url":"https://api.github.com/repos/go-critic/go-critic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-critic/go-critic/issues/184/comments","statuses_url":"https://api.github.com/repos/go-critic/go-critic/statuses/81032abdaff9c9ba485b55d2bd4391593ef92a01","head":{"label":"go-critic:lint-names","ref":"lint-names","sha":"81032abdaff9c9ba485b55d2bd4391593ef92a01","user":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"repo":{"id":132232698,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyMzI2OTg=","name":"go-critic","full_name":"go-critic/go-critic","owner":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-critic/go-critic","description":"The most opinionated Go source code linter","fork":false,"url":"https://api.github.com/repos/go-critic/go-critic","forks_url":"https://api.github.com/repos/go-critic/go-critic/forks","keys_url":"https://api.github.com/repos/go-critic/go-critic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-critic/go-critic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-critic/go-critic/teams","hooks_url":"https://api.github.com/repos/go-critic/go-critic/hooks","issue_events_url":"https://api.github.com/repos/go-critic/go-critic/issues/events{/number}","events_url":"https://api.github.com/repos/go-critic/go-critic/events","assignees_url":"https://api.github.com/repos/go-critic/go-critic/assignees{/user}","branches_url":"https://api.github.com/repos/go-critic/go-critic/branches{/branch}","tags_url":"https://api.github.com/repos/go-critic/go-critic/tags","blobs_url":"https://api.github.com/repos/go-critic/go-critic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-critic/go-critic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-critic/go-critic/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-critic/go-critic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-critic/go-critic/statuses/{sha}","languages_url":"https://api.github.com/repos/go-critic/go-critic/languages","stargazers_url":"https://api.github.com/repos/go-critic/go-critic/stargazers","contributors_url":"https://api.github.com/repos/go-critic/go-critic/contributors","subscribers_url":"https://api.github.com/repos/go-critic/go-critic/subscribers","subscription_url":"https://api.github.com/repos/go-critic/go-critic/subscription","commits_url":"https://api.github.com/repos/go-critic/go-critic/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-critic/go-critic/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-critic/go-critic/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-critic/go-critic/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-critic/go-critic/contents/{+path}","compare_url":"https://api.github.com/repos/go-critic/go-critic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-critic/go-critic/merges","archive_url":"https://api.github.com/repos/go-critic/go-critic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-critic/go-critic/downloads","issues_url":"https://api.github.com/repos/go-critic/go-critic/issues{/number}","pulls_url":"https://api.github.com/repos/go-critic/go-critic/pulls{/number}","milestones_url":"https://api.github.com/repos/go-critic/go-critic/milestones{/number}","notifications_url":"https://api.github.com/repos/go-critic/go-critic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-critic/go-critic/labels{/name}","releases_url":"https://api.github.com/repos/go-critic/go-critic/releases{/id}","deployments_url":"https://api.github.com/repos/go-critic/go-critic/deployments","created_at":"2018-05-05T09:17:26Z","updated_at":"2018-06-09T19:25:44Z","pushed_at":"2018-06-10T15:17:21Z","git_url":"git://github.com/go-critic/go-critic.git","ssh_url":"git@github.com:go-critic/go-critic.git","clone_url":"https://github.com/go-critic/go-critic.git","svn_url":"https://github.com/go-critic/go-critic","homepage":"","size":2192,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":30,"watchers":7,"default_branch":"master"}},"base":{"label":"go-critic:master","ref":"master","sha":"aaade67a25a3bb50590283bf17e84cc3de137e40","user":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"repo":{"id":132232698,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyMzI2OTg=","name":"go-critic","full_name":"go-critic/go-critic","owner":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-critic/go-critic","description":"The most opinionated Go source code linter","fork":false,"url":"https://api.github.com/repos/go-critic/go-critic","forks_url":"https://api.github.com/repos/go-critic/go-critic/forks","keys_url":"https://api.github.com/repos/go-critic/go-critic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-critic/go-critic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-critic/go-critic/teams","hooks_url":"https://api.github.com/repos/go-critic/go-critic/hooks","issue_events_url":"https://api.github.com/repos/go-critic/go-critic/issues/events{/number}","events_url":"https://api.github.com/repos/go-critic/go-critic/events","assignees_url":"https://api.github.com/repos/go-critic/go-critic/assignees{/user}","branches_url":"https://api.github.com/repos/go-critic/go-critic/branches{/branch}","tags_url":"https://api.github.com/repos/go-critic/go-critic/tags","blobs_url":"https://api.github.com/repos/go-critic/go-critic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-critic/go-critic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-critic/go-critic/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-critic/go-critic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-critic/go-critic/statuses/{sha}","languages_url":"https://api.github.com/repos/go-critic/go-critic/languages","stargazers_url":"https://api.github.com/repos/go-critic/go-critic/stargazers","contributors_url":"https://api.github.com/repos/go-critic/go-critic/contributors","subscribers_url":"https://api.github.com/repos/go-critic/go-critic/subscribers","subscription_url":"https://api.github.com/repos/go-critic/go-critic/subscription","commits_url":"https://api.github.com/repos/go-critic/go-critic/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-critic/go-critic/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-critic/go-critic/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-critic/go-critic/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-critic/go-critic/contents/{+path}","compare_url":"https://api.github.com/repos/go-critic/go-critic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-critic/go-critic/merges","archive_url":"https://api.github.com/repos/go-critic/go-critic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-critic/go-critic/downloads","issues_url":"https://api.github.com/repos/go-critic/go-critic/issues{/number}","pulls_url":"https://api.github.com/repos/go-critic/go-critic/pulls{/number}","milestones_url":"https://api.github.com/repos/go-critic/go-critic/milestones{/number}","notifications_url":"https://api.github.com/repos/go-critic/go-critic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-critic/go-critic/labels{/name}","releases_url":"https://api.github.com/repos/go-critic/go-critic/releases{/id}","deployments_url":"https://api.github.com/repos/go-critic/go-critic/deployments","created_at":"2018-05-05T09:17:26Z","updated_at":"2018-06-09T19:25:44Z","pushed_at":"2018-06-10T15:17:21Z","git_url":"git://github.com/go-critic/go-critic.git","ssh_url":"git@github.com:go-critic/go-critic.git","clone_url":"https://github.com/go-critic/go-critic.git","svn_url":"https://github.com/go-critic/go-critic","homepage":"","size":2192,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":30,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/184"},"html":{"href":"https://github.com/go-critic/go-critic/pull/184"},"issue":{"href":"https://api.github.com/repos/go-critic/go-critic/issues/184"},"comments":{"href":"https://api.github.com/repos/go-critic/go-critic/issues/184/comments"},"review_comments":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/184/comments"},"review_comment":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/184/commits"},"statuses":{"href":"https://api.github.com/repos/go-critic/go-critic/statuses/81032abdaff9c9ba485b55d2bd4391593ef92a01"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Quasilyte"}}