{"action":"created","comment":{"url":"https://api.github.com/repos/stil4m/elm-analyse/pulls/comments/159011523","pull_request_review_id":85897465,"id":159011523,"diff_hunk":"@@ -42,7 +44,7 @@ scan fileContext _ =\n onExpression : Ranged Expression -> Context -> Context\n onExpression ( r, inner ) context =\n     case inner of\n-        OperatorApplication \"::\" _ _ ( _, ListExpr _ ) ->\n+        OperatorApplication \"::\" _ ( carRange, _ ) ( cdrRange, ListExpr _ ) ->","path":"src/Analyser/Checks/DropConsOfItemAndList.elm","position":19,"original_position":19,"commit_id":"3ec5f743f9d22339bce1b2a4f5511c006824f18e","original_commit_id":"3ec5f743f9d22339bce1b2a4f5511c006824f18e","user":{"login":"stil4m","id":713384,"avatar_url":"https://avatars2.githubusercontent.com/u/713384?v=4","gravatar_id":"","url":"https://api.github.com/users/stil4m","html_url":"https://github.com/stil4m","followers_url":"https://api.github.com/users/stil4m/followers","following_url":"https://api.github.com/users/stil4m/following{/other_user}","gists_url":"https://api.github.com/users/stil4m/gists{/gist_id}","starred_url":"https://api.github.com/users/stil4m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stil4m/subscriptions","organizations_url":"https://api.github.com/users/stil4m/orgs","repos_url":"https://api.github.com/users/stil4m/repos","events_url":"https://api.github.com/users/stil4m/events{/privacy}","received_events_url":"https://api.github.com/users/stil4m/received_events","type":"User","site_admin":false},"body":"Maybe rename these to `headRange` and `tailRange`.","created_at":"2017-12-28T23:37:26Z","updated_at":"2017-12-28T23:38:27Z","html_url":"https://github.com/stil4m/elm-analyse/pull/140#discussion_r159011523","pull_request_url":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/stil4m/elm-analyse/pulls/comments/159011523"},"html":{"href":"https://github.com/stil4m/elm-analyse/pull/140#discussion_r159011523"},"pull_request":{"href":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140","id":160093232,"html_url":"https://github.com/stil4m/elm-analyse/pull/140","diff_url":"https://github.com/stil4m/elm-analyse/pull/140.diff","patch_url":"https://github.com/stil4m/elm-analyse/pull/140.patch","issue_url":"https://api.github.com/repos/stil4m/elm-analyse/issues/140","number":140,"state":"open","locked":false,"title":"Add auto-fix for DropConsOfItemAndList","user":{"login":"adeschamps","id":3701316,"avatar_url":"https://avatars1.githubusercontent.com/u/3701316?v=4","gravatar_id":"","url":"https://api.github.com/users/adeschamps","html_url":"https://github.com/adeschamps","followers_url":"https://api.github.com/users/adeschamps/followers","following_url":"https://api.github.com/users/adeschamps/following{/other_user}","gists_url":"https://api.github.com/users/adeschamps/gists{/gist_id}","starred_url":"https://api.github.com/users/adeschamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeschamps/subscriptions","organizations_url":"https://api.github.com/users/adeschamps/orgs","repos_url":"https://api.github.com/users/adeschamps/repos","events_url":"https://api.github.com/users/adeschamps/events{/privacy}","received_events_url":"https://api.github.com/users/adeschamps/received_events","type":"User","site_admin":false},"body":"Another box on #5 \r\n\r\nI also modified `FileContent.updateRange` to treat ranges as [inclusive, exclusive), which feels more natural - for example, if you use the end of one range as the start of another, then they don't overlap.","created_at":"2017-12-26T07:14:05Z","updated_at":"2017-12-28T23:38:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1fbe0522d5701937b28a0fcd7774fcf83994b54","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140/commits","review_comments_url":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140/comments","review_comment_url":"https://api.github.com/repos/stil4m/elm-analyse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stil4m/elm-analyse/issues/140/comments","statuses_url":"https://api.github.com/repos/stil4m/elm-analyse/statuses/3ec5f743f9d22339bce1b2a4f5511c006824f18e","head":{"label":"adeschamps:drop-cons-of-item-and-list","ref":"drop-cons-of-item-and-list","sha":"3ec5f743f9d22339bce1b2a4f5511c006824f18e","user":{"login":"adeschamps","id":3701316,"avatar_url":"https://avatars1.githubusercontent.com/u/3701316?v=4","gravatar_id":"","url":"https://api.github.com/users/adeschamps","html_url":"https://github.com/adeschamps","followers_url":"https://api.github.com/users/adeschamps/followers","following_url":"https://api.github.com/users/adeschamps/following{/other_user}","gists_url":"https://api.github.com/users/adeschamps/gists{/gist_id}","starred_url":"https://api.github.com/users/adeschamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeschamps/subscriptions","organizations_url":"https://api.github.com/users/adeschamps/orgs","repos_url":"https://api.github.com/users/adeschamps/repos","events_url":"https://api.github.com/users/adeschamps/events{/privacy}","received_events_url":"https://api.github.com/users/adeschamps/received_events","type":"User","site_admin":false},"repo":{"id":114840815,"name":"elm-analyse","full_name":"adeschamps/elm-analyse","owner":{"login":"adeschamps","id":3701316,"avatar_url":"https://avatars1.githubusercontent.com/u/3701316?v=4","gravatar_id":"","url":"https://api.github.com/users/adeschamps","html_url":"https://github.com/adeschamps","followers_url":"https://api.github.com/users/adeschamps/followers","following_url":"https://api.github.com/users/adeschamps/following{/other_user}","gists_url":"https://api.github.com/users/adeschamps/gists{/gist_id}","starred_url":"https://api.github.com/users/adeschamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeschamps/subscriptions","organizations_url":"https://api.github.com/users/adeschamps/orgs","repos_url":"https://api.github.com/users/adeschamps/repos","events_url":"https://api.github.com/users/adeschamps/events{/privacy}","received_events_url":"https://api.github.com/users/adeschamps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adeschamps/elm-analyse","description":"A tool that allows you to analyse your Elm code, identify deficiencies and apply best practices.","fork":true,"url":"https://api.github.com/repos/adeschamps/elm-analyse","forks_url":"https://api.github.com/repos/adeschamps/elm-analyse/forks","keys_url":"https://api.github.com/repos/adeschamps/elm-analyse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adeschamps/elm-analyse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adeschamps/elm-analyse/teams","hooks_url":"https://api.github.com/repos/adeschamps/elm-analyse/hooks","issue_events_url":"https://api.github.com/repos/adeschamps/elm-analyse/issues/events{/number}","events_url":"https://api.github.com/repos/adeschamps/elm-analyse/events","assignees_url":"https://api.github.com/repos/adeschamps/elm-analyse/assignees{/user}","branches_url":"https://api.github.com/repos/adeschamps/elm-analyse/branches{/branch}","tags_url":"https://api.github.com/repos/adeschamps/elm-analyse/tags","blobs_url":"https://api.github.com/repos/adeschamps/elm-analyse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adeschamps/elm-analyse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adeschamps/elm-analyse/git/refs{/sha}","trees_url":"https://api.github.com/repos/adeschamps/elm-analyse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adeschamps/elm-analyse/statuses/{sha}","languages_url":"https://api.github.com/repos/adeschamps/elm-analyse/languages","stargazers_url":"https://api.github.com/repos/adeschamps/elm-analyse/stargazers","contributors_url":"https://api.github.com/repos/adeschamps/elm-analyse/contributors","subscribers_url":"https://api.github.com/repos/adeschamps/elm-analyse/subscribers","subscription_url":"https://api.github.com/repos/adeschamps/elm-analyse/subscription","commits_url":"https://api.github.com/repos/adeschamps/elm-analyse/commits{/sha}","git_commits_url":"https://api.github.com/repos/adeschamps/elm-analyse/git/commits{/sha}","comments_url":"https://api.github.com/repos/adeschamps/elm-analyse/comments{/number}","issue_comment_url":"https://api.github.com/repos/adeschamps/elm-analyse/issues/comments{/number}","contents_url":"https://api.github.com/repos/adeschamps/elm-analyse/contents/{+path}","compare_url":"https://api.github.com/repos/adeschamps/elm-analyse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adeschamps/elm-analyse/merges","archive_url":"https://api.github.com/repos/adeschamps/elm-analyse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adeschamps/elm-analyse/downloads","issues_url":"https://api.github.com/repos/adeschamps/elm-analyse/issues{/number}","pulls_url":"https://api.github.com/repos/adeschamps/elm-analyse/pulls{/number}","milestones_url":"https://api.github.com/repos/adeschamps/elm-analyse/milestones{/number}","notifications_url":"https://api.github.com/repos/adeschamps/elm-analyse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adeschamps/elm-analyse/labels{/name}","releases_url":"https://api.github.com/repos/adeschamps/elm-analyse/releases{/id}","deployments_url":"https://api.github.com/repos/adeschamps/elm-analyse/deployments","created_at":"2017-12-20T03:58:00Z","updated_at":"2017-12-20T03:58:02Z","pushed_at":"2017-12-27T16:51:56Z","git_url":"git://github.com/adeschamps/elm-analyse.git","ssh_url":"git@github.com:adeschamps/elm-analyse.git","clone_url":"https://github.com/adeschamps/elm-analyse.git","svn_url":"https://github.com/adeschamps/elm-analyse","homepage":"https://stil4m.github.io/elm-analyse/","size":5112,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stil4m:dev","ref":"dev","sha":"b3d1ea60421fb6a5d5d549247eec1f1c80f9558d","user":{"login":"stil4m","id":713384,"avatar_url":"https://avatars2.githubusercontent.com/u/713384?v=4","gravatar_id":"","url":"https://api.github.com/users/stil4m","html_url":"https://github.com/stil4m","followers_url":"https://api.github.com/users/stil4m/followers","following_url":"https://api.github.com/users/stil4m/following{/other_user}","gists_url":"https://api.github.com/users/stil4m/gists{/gist_id}","starred_url":"https://api.github.com/users/stil4m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stil4m/subscriptions","organizations_url":"https://api.github.com/users/stil4m/orgs","repos_url":"https://api.github.com/users/stil4m/repos","events_url":"https://api.github.com/users/stil4m/events{/privacy}","received_events_url":"https://api.github.com/users/stil4m/received_events","type":"User","site_admin":false},"repo":{"id":79642135,"name":"elm-analyse","full_name":"stil4m/elm-analyse","owner":{"login":"stil4m","id":713384,"avatar_url":"https://avatars2.githubusercontent.com/u/713384?v=4","gravatar_id":"","url":"https://api.github.com/users/stil4m","html_url":"https://github.com/stil4m","followers_url":"https://api.github.com/users/stil4m/followers","following_url":"https://api.github.com/users/stil4m/following{/other_user}","gists_url":"https://api.github.com/users/stil4m/gists{/gist_id}","starred_url":"https://api.github.com/users/stil4m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stil4m/subscriptions","organizations_url":"https://api.github.com/users/stil4m/orgs","repos_url":"https://api.github.com/users/stil4m/repos","events_url":"https://api.github.com/users/stil4m/events{/privacy}","received_events_url":"https://api.github.com/users/stil4m/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stil4m/elm-analyse","description":"A tool that allows you to analyse your Elm code, identify deficiencies and apply best practices.","fork":false,"url":"https://api.github.com/repos/stil4m/elm-analyse","forks_url":"https://api.github.com/repos/stil4m/elm-analyse/forks","keys_url":"https://api.github.com/repos/stil4m/elm-analyse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stil4m/elm-analyse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stil4m/elm-analyse/teams","hooks_url":"https://api.github.com/repos/stil4m/elm-analyse/hooks","issue_events_url":"https://api.github.com/repos/stil4m/elm-analyse/issues/events{/number}","events_url":"https://api.github.com/repos/stil4m/elm-analyse/events","assignees_url":"https://api.github.com/repos/stil4m/elm-analyse/assignees{/user}","branches_url":"https://api.github.com/repos/stil4m/elm-analyse/branches{/branch}","tags_url":"https://api.github.com/repos/stil4m/elm-analyse/tags","blobs_url":"https://api.github.com/repos/stil4m/elm-analyse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stil4m/elm-analyse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stil4m/elm-analyse/git/refs{/sha}","trees_url":"https://api.github.com/repos/stil4m/elm-analyse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stil4m/elm-analyse/statuses/{sha}","languages_url":"https://api.github.com/repos/stil4m/elm-analyse/languages","stargazers_url":"https://api.github.com/repos/stil4m/elm-analyse/stargazers","contributors_url":"https://api.github.com/repos/stil4m/elm-analyse/contributors","subscribers_url":"https://api.github.com/repos/stil4m/elm-analyse/subscribers","subscription_url":"https://api.github.com/repos/stil4m/elm-analyse/subscription","commits_url":"https://api.github.com/repos/stil4m/elm-analyse/commits{/sha}","git_commits_url":"https://api.github.com/repos/stil4m/elm-analyse/git/commits{/sha}","comments_url":"https://api.github.com/repos/stil4m/elm-analyse/comments{/number}","issue_comment_url":"https://api.github.com/repos/stil4m/elm-analyse/issues/comments{/number}","contents_url":"https://api.github.com/repos/stil4m/elm-analyse/contents/{+path}","compare_url":"https://api.github.com/repos/stil4m/elm-analyse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stil4m/elm-analyse/merges","archive_url":"https://api.github.com/repos/stil4m/elm-analyse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stil4m/elm-analyse/downloads","issues_url":"https://api.github.com/repos/stil4m/elm-analyse/issues{/number}","pulls_url":"https://api.github.com/repos/stil4m/elm-analyse/pulls{/number}","milestones_url":"https://api.github.com/repos/stil4m/elm-analyse/milestones{/number}","notifications_url":"https://api.github.com/repos/stil4m/elm-analyse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stil4m/elm-analyse/labels{/name}","releases_url":"https://api.github.com/repos/stil4m/elm-analyse/releases{/id}","deployments_url":"https://api.github.com/repos/stil4m/elm-analyse/deployments","created_at":"2017-01-21T11:37:15Z","updated_at":"2017-12-28T22:23:04Z","pushed_at":"2017-12-27T16:48:40Z","git_url":"git://github.com/stil4m/elm-analyse.git","ssh_url":"git@github.com:stil4m/elm-analyse.git","clone_url":"https://github.com/stil4m/elm-analyse.git","svn_url":"https://github.com/stil4m/elm-analyse","homepage":"https://stil4m.github.io/elm-analyse/","size":5097,"stargazers_count":190,"watchers_count":190,"language":"Elm","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":18,"open_issues":19,"watchers":190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140"},"html":{"href":"https://github.com/stil4m/elm-analyse/pull/140"},"issue":{"href":"https://api.github.com/repos/stil4m/elm-analyse/issues/140"},"comments":{"href":"https://api.github.com/repos/stil4m/elm-analyse/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/stil4m/elm-analyse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stil4m/elm-analyse/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/stil4m/elm-analyse/statuses/3ec5f743f9d22339bce1b2a4f5511c006824f18e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"stil4m"}}