{"action":"closed","number":678,"pull_request":{"url":"https://api.github.com/repos/mozilla/addons-linter/pulls/678","id":70265255,"html_url":"https://github.com/mozilla/addons-linter/pull/678","diff_url":"https://github.com/mozilla/addons-linter/pull/678.diff","patch_url":"https://github.com/mozilla/addons-linter/pull/678.patch","issue_url":"https://api.github.com/repos/mozilla/addons-linter/issues/678","number":678,"state":"closed","locked":false,"title":"indexOf to includes where possible","user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"body":"* just because...","created_at":"2016-05-16T21:33:30Z","updated_at":"2016-05-17T14:17:38Z","closed_at":"2016-05-17T14:17:38Z","merged_at":"2016-05-17T14:17:38Z","merge_commit_sha":"118573d36f864e710e821c3fdbba907fff9227e5","assignee":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/addons-linter/pulls/678/commits","review_comments_url":"https://api.github.com/repos/mozilla/addons-linter/pulls/678/comments","review_comment_url":"https://api.github.com/repos/mozilla/addons-linter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/addons-linter/issues/678/comments","statuses_url":"https://api.github.com/repos/mozilla/addons-linter/statuses/aa1331cb6c475072acbd3783d3011a81deb2e608","head":{"label":"andymckay:replace-indexOf","ref":"replace-indexOf","sha":"aa1331cb6c475072acbd3783d3011a81deb2e608","user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"repo":{"id":46458866,"name":"addons-linter","full_name":"andymckay/addons-linter","owner":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andymckay/addons-linter","description":"The new Firefox Add-ons validator, written in ES6/JavaScript.","fork":true,"url":"https://api.github.com/repos/andymckay/addons-linter","forks_url":"https://api.github.com/repos/andymckay/addons-linter/forks","keys_url":"https://api.github.com/repos/andymckay/addons-linter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andymckay/addons-linter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andymckay/addons-linter/teams","hooks_url":"https://api.github.com/repos/andymckay/addons-linter/hooks","issue_events_url":"https://api.github.com/repos/andymckay/addons-linter/issues/events{/number}","events_url":"https://api.github.com/repos/andymckay/addons-linter/events","assignees_url":"https://api.github.com/repos/andymckay/addons-linter/assignees{/user}","branches_url":"https://api.github.com/repos/andymckay/addons-linter/branches{/branch}","tags_url":"https://api.github.com/repos/andymckay/addons-linter/tags","blobs_url":"https://api.github.com/repos/andymckay/addons-linter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andymckay/addons-linter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andymckay/addons-linter/git/refs{/sha}","trees_url":"https://api.github.com/repos/andymckay/addons-linter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andymckay/addons-linter/statuses/{sha}","languages_url":"https://api.github.com/repos/andymckay/addons-linter/languages","stargazers_url":"https://api.github.com/repos/andymckay/addons-linter/stargazers","contributors_url":"https://api.github.com/repos/andymckay/addons-linter/contributors","subscribers_url":"https://api.github.com/repos/andymckay/addons-linter/subscribers","subscription_url":"https://api.github.com/repos/andymckay/addons-linter/subscription","commits_url":"https://api.github.com/repos/andymckay/addons-linter/commits{/sha}","git_commits_url":"https://api.github.com/repos/andymckay/addons-linter/git/commits{/sha}","comments_url":"https://api.github.com/repos/andymckay/addons-linter/comments{/number}","issue_comment_url":"https://api.github.com/repos/andymckay/addons-linter/issues/comments{/number}","contents_url":"https://api.github.com/repos/andymckay/addons-linter/contents/{+path}","compare_url":"https://api.github.com/repos/andymckay/addons-linter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andymckay/addons-linter/merges","archive_url":"https://api.github.com/repos/andymckay/addons-linter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andymckay/addons-linter/downloads","issues_url":"https://api.github.com/repos/andymckay/addons-linter/issues{/number}","pulls_url":"https://api.github.com/repos/andymckay/addons-linter/pulls{/number}","milestones_url":"https://api.github.com/repos/andymckay/addons-linter/milestones{/number}","notifications_url":"https://api.github.com/repos/andymckay/addons-linter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andymckay/addons-linter/labels{/name}","releases_url":"https://api.github.com/repos/andymckay/addons-linter/releases{/id}","deployments_url":"https://api.github.com/repos/andymckay/addons-linter/deployments","created_at":"2015-11-19T01:23:28Z","updated_at":"2016-05-05T19:08:00Z","pushed_at":"2016-05-16T21:33:12Z","git_url":"git://github.com/andymckay/addons-linter.git","ssh_url":"git@github.com:andymckay/addons-linter.git","clone_url":"https://github.com/andymckay/addons-linter.git","svn_url":"https://github.com/andymckay/addons-linter","homepage":"","size":1010,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"a7135438b99f28f4bdf82be68ce612f8110869d5","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":42436885,"name":"addons-linter","full_name":"mozilla/addons-linter","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/addons-linter","description":"The new Firefox Add-ons linter, written in ES6/JavaScript.","fork":false,"url":"https://api.github.com/repos/mozilla/addons-linter","forks_url":"https://api.github.com/repos/mozilla/addons-linter/forks","keys_url":"https://api.github.com/repos/mozilla/addons-linter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/addons-linter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/addons-linter/teams","hooks_url":"https://api.github.com/repos/mozilla/addons-linter/hooks","issue_events_url":"https://api.github.com/repos/mozilla/addons-linter/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/addons-linter/events","assignees_url":"https://api.github.com/repos/mozilla/addons-linter/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/addons-linter/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/addons-linter/tags","blobs_url":"https://api.github.com/repos/mozilla/addons-linter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/addons-linter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/addons-linter/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/addons-linter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/addons-linter/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/addons-linter/languages","stargazers_url":"https://api.github.com/repos/mozilla/addons-linter/stargazers","contributors_url":"https://api.github.com/repos/mozilla/addons-linter/contributors","subscribers_url":"https://api.github.com/repos/mozilla/addons-linter/subscribers","subscription_url":"https://api.github.com/repos/mozilla/addons-linter/subscription","commits_url":"https://api.github.com/repos/mozilla/addons-linter/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/addons-linter/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/addons-linter/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/addons-linter/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/addons-linter/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/addons-linter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/addons-linter/merges","archive_url":"https://api.github.com/repos/mozilla/addons-linter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/addons-linter/downloads","issues_url":"https://api.github.com/repos/mozilla/addons-linter/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/addons-linter/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/addons-linter/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/addons-linter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/addons-linter/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/addons-linter/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/addons-linter/deployments","created_at":"2015-09-14T08:34:44Z","updated_at":"2016-05-17T11:33:58Z","pushed_at":"2016-05-17T14:17:38Z","git_url":"git://github.com/mozilla/addons-linter.git","ssh_url":"git@github.com:mozilla/addons-linter.git","clone_url":"https://github.com/mozilla/addons-linter.git","svn_url":"https://github.com/mozilla/addons-linter","homepage":"","size":1444,"stargazers_count":30,"watchers_count":30,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":63,"forks":9,"open_issues":63,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-linter/pulls/678"},"html":{"href":"https://github.com/mozilla/addons-linter/pull/678"},"issue":{"href":"https://api.github.com/repos/mozilla/addons-linter/issues/678"},"comments":{"href":"https://api.github.com/repos/mozilla/addons-linter/issues/678/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/addons-linter/pulls/678/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/addons-linter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/addons-linter/pulls/678/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/addons-linter/statuses/aa1331cb6c475072acbd3783d3011a81deb2e608"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":9,"deletions":9,"changed_files":6}}