{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/comments/83966603","pull_request_review_id":4775409,"id":83966603,"diff_hunk":"@@ -16,13 +18,11 @@ const errors = [{\n ruleTester.run('avoid-array-instanceof', rule, {\n \tvalid: [\n \t\t'Array.isArray(arr)',\n-\t\t'Array.isArray(arr) === true',\n-\t\t'Array.isArray([])',\n-\t\t'Array.isArray([]) === true',\n-\t\t'Array.isArray([1,2,3])',\n-\t\t'Array.isArray([1,2,3]) === true',\n-\t\t'if(Array.isArray(arr)){}',\n-\t\t'if(Array.isArray([1,2,3])){}'\n+\t\t'arr instanceof Object',\n+\t\t'arr instanceof array',\n+\t\t'a instanceof \\'array\\'',\n+\t\t'a instanceof ArrayA',\n+\t\t`a.x[${value}] instanceof Object`","path":"test/no-array-instanceof.js","position":25,"original_position":24,"commit_id":"d9962917cef1c508121de75df4021696d8f0b903","original_commit_id":"d9962917cef1c508121de75df4021696d8f0b903","user":{"login":"pvskarthikeya","id":9097958,"avatar_url":"https://avatars.githubusercontent.com/u/9097958?v=3","gravatar_id":"","url":"https://api.github.com/users/pvskarthikeya","html_url":"https://github.com/pvskarthikeya","followers_url":"https://api.github.com/users/pvskarthikeya/followers","following_url":"https://api.github.com/users/pvskarthikeya/following{/other_user}","gists_url":"https://api.github.com/users/pvskarthikeya/gists{/gist_id}","starred_url":"https://api.github.com/users/pvskarthikeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvskarthikeya/subscriptions","organizations_url":"https://api.github.com/users/pvskarthikeya/orgs","repos_url":"https://api.github.com/users/pvskarthikeya/repos","events_url":"https://api.github.com/users/pvskarthikeya/events{/privacy}","received_events_url":"https://api.github.com/users/pvskarthikeya/received_events","type":"User","site_admin":false},"body":"Okay. @jfmengels  Thank you.","created_at":"2016-10-18T22:43:27Z","updated_at":"2016-10-18T22:43:27Z","html_url":"https://github.com/sindresorhus/eslint-plugin-unicorn/pull/58#discussion_r83966603","pull_request_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/comments/83966603"},"html":{"href":"https://github.com/sindresorhus/eslint-plugin-unicorn/pull/58#discussion_r83966603"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58","id":89684720,"html_url":"https://github.com/sindresorhus/eslint-plugin-unicorn/pull/58","diff_url":"https://github.com/sindresorhus/eslint-plugin-unicorn/pull/58.diff","patch_url":"https://github.com/sindresorhus/eslint-plugin-unicorn/pull/58.patch","issue_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/issues/58","number":58,"state":"open","locked":false,"title":"Add 'no-array-instanceof' rule  (#11)","user":{"login":"pvskarthikeya","id":9097958,"avatar_url":"https://avatars.githubusercontent.com/u/9097958?v=3","gravatar_id":"","url":"https://api.github.com/users/pvskarthikeya","html_url":"https://github.com/pvskarthikeya","followers_url":"https://api.github.com/users/pvskarthikeya/followers","following_url":"https://api.github.com/users/pvskarthikeya/following{/other_user}","gists_url":"https://api.github.com/users/pvskarthikeya/gists{/gist_id}","starred_url":"https://api.github.com/users/pvskarthikeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvskarthikeya/subscriptions","organizations_url":"https://api.github.com/users/pvskarthikeya/orgs","repos_url":"https://api.github.com/users/pvskarthikeya/repos","events_url":"https://api.github.com/users/pvskarthikeya/events{/privacy}","received_events_url":"https://api.github.com/users/pvskarthikeya/received_events","type":"User","site_admin":false},"body":"Hey @sindresorhus. Please check the below pull request. I hope everything is fine. Thank you.","created_at":"2016-10-17T19:17:12Z","updated_at":"2016-10-18T22:43:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09bf021485968da89d208ba26f1a570ef6276d0d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/issues/58/comments","statuses_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/statuses/d9962917cef1c508121de75df4021696d8f0b903","head":{"label":"pvskarthikeya:issue/11","ref":"issue/11","sha":"d9962917cef1c508121de75df4021696d8f0b903","user":{"login":"pvskarthikeya","id":9097958,"avatar_url":"https://avatars.githubusercontent.com/u/9097958?v=3","gravatar_id":"","url":"https://api.github.com/users/pvskarthikeya","html_url":"https://github.com/pvskarthikeya","followers_url":"https://api.github.com/users/pvskarthikeya/followers","following_url":"https://api.github.com/users/pvskarthikeya/following{/other_user}","gists_url":"https://api.github.com/users/pvskarthikeya/gists{/gist_id}","starred_url":"https://api.github.com/users/pvskarthikeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvskarthikeya/subscriptions","organizations_url":"https://api.github.com/users/pvskarthikeya/orgs","repos_url":"https://api.github.com/users/pvskarthikeya/repos","events_url":"https://api.github.com/users/pvskarthikeya/events{/privacy}","received_events_url":"https://api.github.com/users/pvskarthikeya/received_events","type":"User","site_admin":false},"repo":{"id":71167116,"name":"eslint-plugin-unicorn","full_name":"pvskarthikeya/eslint-plugin-unicorn","owner":{"login":"pvskarthikeya","id":9097958,"avatar_url":"https://avatars.githubusercontent.com/u/9097958?v=3","gravatar_id":"","url":"https://api.github.com/users/pvskarthikeya","html_url":"https://github.com/pvskarthikeya","followers_url":"https://api.github.com/users/pvskarthikeya/followers","following_url":"https://api.github.com/users/pvskarthikeya/following{/other_user}","gists_url":"https://api.github.com/users/pvskarthikeya/gists{/gist_id}","starred_url":"https://api.github.com/users/pvskarthikeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvskarthikeya/subscriptions","organizations_url":"https://api.github.com/users/pvskarthikeya/orgs","repos_url":"https://api.github.com/users/pvskarthikeya/repos","events_url":"https://api.github.com/users/pvskarthikeya/events{/privacy}","received_events_url":"https://api.github.com/users/pvskarthikeya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pvskarthikeya/eslint-plugin-unicorn","description":"Various awesome ESLint rules","fork":true,"url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn","forks_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/forks","keys_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/teams","hooks_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/hooks","issue_events_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/issues/events{/number}","events_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/events","assignees_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/assignees{/user}","branches_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/branches{/branch}","tags_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/tags","blobs_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/git/refs{/sha}","trees_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/statuses/{sha}","languages_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/languages","stargazers_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/stargazers","contributors_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/contributors","subscribers_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/subscribers","subscription_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/subscription","commits_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/commits{/sha}","git_commits_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/git/commits{/sha}","comments_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/comments{/number}","issue_comment_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/issues/comments{/number}","contents_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/contents/{+path}","compare_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/merges","archive_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/downloads","issues_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/issues{/number}","pulls_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/pulls{/number}","milestones_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/milestones{/number}","notifications_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/labels{/name}","releases_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/releases{/id}","deployments_url":"https://api.github.com/repos/pvskarthikeya/eslint-plugin-unicorn/deployments","created_at":"2016-10-17T18:10:01Z","updated_at":"2016-10-17T18:10:02Z","pushed_at":"2016-10-18T22:29:05Z","git_url":"git://github.com/pvskarthikeya/eslint-plugin-unicorn.git","ssh_url":"git@github.com:pvskarthikeya/eslint-plugin-unicorn.git","clone_url":"https://github.com/pvskarthikeya/eslint-plugin-unicorn.git","svn_url":"https://github.com/pvskarthikeya/eslint-plugin-unicorn","homepage":"","size":50,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"718578aadc696dbc506bce32cd8e5bec3fb12c3a","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":55832243,"name":"eslint-plugin-unicorn","full_name":"sindresorhus/eslint-plugin-unicorn","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/eslint-plugin-unicorn","description":"Various awesome ESLint rules","fork":false,"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn","forks_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/forks","keys_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/teams","hooks_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/events","assignees_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/tags","blobs_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/subscription","commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/merges","archive_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/downloads","issues_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/deployments","created_at":"2016-04-09T07:48:04Z","updated_at":"2016-10-18T19:56:39Z","pushed_at":"2016-10-18T22:29:06Z","git_url":"git://github.com/sindresorhus/eslint-plugin-unicorn.git","ssh_url":"git@github.com:sindresorhus/eslint-plugin-unicorn.git","clone_url":"https://github.com/sindresorhus/eslint-plugin-unicorn.git","svn_url":"https://github.com/sindresorhus/eslint-plugin-unicorn","homepage":"","size":62,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":25,"forks":8,"open_issues":25,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58"},"html":{"href":"https://github.com/sindresorhus/eslint-plugin-unicorn/pull/58"},"issue":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/issues/58"},"comments":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/eslint-plugin-unicorn/statuses/d9962917cef1c508121de75df4021696d8f0b903"}}}}
{"actor":{"display_login":"pvskarthikeya"}}