{"action":"created","comment":{"url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/comments/32525506","id":32525506,"diff_hunk":"@@ -23,8 +23,12 @@ module.exports =\n         @consumeLinter(linter)\n \n   consumeLinter: (linter) ->\n-    if @_validateLinter(linter)\n-      @instance.linters.push linter\n+    if linter instanceof Array\n+      for singleLinter of linter","path":"lib/main.coffee","position":7,"original_position":7,"commit_id":"4f8d60c4765119f4b737824d09eb8c70c3e41169","original_commit_id":"4f8d60c4765119f4b737824d09eb8c70c3e41169","user":{"login":"lierdakil","id":7275622,"avatar_url":"https://avatars.githubusercontent.com/u/7275622?v=3","gravatar_id":"","url":"https://api.github.com/users/lierdakil","html_url":"https://github.com/lierdakil","followers_url":"https://api.github.com/users/lierdakil/followers","following_url":"https://api.github.com/users/lierdakil/following{/other_user}","gists_url":"https://api.github.com/users/lierdakil/gists{/gist_id}","starred_url":"https://api.github.com/users/lierdakil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lierdakil/subscriptions","organizations_url":"https://api.github.com/users/lierdakil/orgs","repos_url":"https://api.github.com/users/lierdakil/repos","events_url":"https://api.github.com/users/lierdakil/events{/privacy}","received_events_url":"https://api.github.com/users/lierdakil/received_events","type":"User","site_admin":false},"body":"```coffee\r\nfor singleLinter in linter\r\n```\r\nOtherwise, you're iterating over array indexes.","created_at":"2015-06-16T14:23:37Z","updated_at":"2015-06-16T14:23:37Z","html_url":"https://github.com/AtomLinter/linter-plus/pull/59#discussion_r32525506","pull_request_url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/comments/32525506"},"html":{"href":"https://github.com/AtomLinter/linter-plus/pull/59#discussion_r32525506"},"pull_request":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59","id":37799679,"html_url":"https://github.com/AtomLinter/linter-plus/pull/59","diff_url":"https://github.com/AtomLinter/linter-plus/pull/59.diff","patch_url":"https://github.com/AtomLinter/linter-plus/pull/59.patch","issue_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/59","number":59,"state":"open","locked":false,"title":"Accept more than one linters in consumeLinter","user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"body":"Not bumping the version number 'cause this is backward compatible.","created_at":"2015-06-16T14:19:12Z","updated_at":"2015-06-16T14:23:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4d47903a28b6bdd0f22f371fda9f92f753ecf0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59/commits","review_comments_url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59/comments","review_comment_url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/59/comments","statuses_url":"https://api.github.com/repos/AtomLinter/linter-plus/statuses/4f8d60c4765119f4b737824d09eb8c70c3e41169","head":{"label":"AtomLinter:steelbrain/support-multiple-linters","ref":"steelbrain/support-multiple-linters","sha":"4f8d60c4765119f4b737824d09eb8c70c3e41169","user":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"repo":{"id":36250031,"name":"linter-plus","full_name":"AtomLinter/linter-plus","owner":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtomLinter/linter-plus","description":"","fork":false,"url":"https://api.github.com/repos/AtomLinter/linter-plus","forks_url":"https://api.github.com/repos/AtomLinter/linter-plus/forks","keys_url":"https://api.github.com/repos/AtomLinter/linter-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtomLinter/linter-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtomLinter/linter-plus/teams","hooks_url":"https://api.github.com/repos/AtomLinter/linter-plus/hooks","issue_events_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/events{/number}","events_url":"https://api.github.com/repos/AtomLinter/linter-plus/events","assignees_url":"https://api.github.com/repos/AtomLinter/linter-plus/assignees{/user}","branches_url":"https://api.github.com/repos/AtomLinter/linter-plus/branches{/branch}","tags_url":"https://api.github.com/repos/AtomLinter/linter-plus/tags","blobs_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtomLinter/linter-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/AtomLinter/linter-plus/languages","stargazers_url":"https://api.github.com/repos/AtomLinter/linter-plus/stargazers","contributors_url":"https://api.github.com/repos/AtomLinter/linter-plus/contributors","subscribers_url":"https://api.github.com/repos/AtomLinter/linter-plus/subscribers","subscription_url":"https://api.github.com/repos/AtomLinter/linter-plus/subscription","commits_url":"https://api.github.com/repos/AtomLinter/linter-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtomLinter/linter-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtomLinter/linter-plus/contents/{+path}","compare_url":"https://api.github.com/repos/AtomLinter/linter-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtomLinter/linter-plus/merges","archive_url":"https://api.github.com/repos/AtomLinter/linter-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtomLinter/linter-plus/downloads","issues_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues{/number}","pulls_url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/AtomLinter/linter-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/AtomLinter/linter-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtomLinter/linter-plus/labels{/name}","releases_url":"https://api.github.com/repos/AtomLinter/linter-plus/releases{/id}","created_at":"2015-05-25T19:23:15Z","updated_at":"2015-06-12T14:09:57Z","pushed_at":"2015-06-16T14:19:12Z","git_url":"git://github.com/AtomLinter/linter-plus.git","ssh_url":"git@github.com:AtomLinter/linter-plus.git","clone_url":"https://github.com/AtomLinter/linter-plus.git","svn_url":"https://github.com/AtomLinter/linter-plus","homepage":null,"size":1467,"stargazers_count":8,"watchers_count":8,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":8,"default_branch":"master"}},"base":{"label":"AtomLinter:master","ref":"master","sha":"80dddec7e258794dc627ad3da74cab4ece4f5a76","user":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"repo":{"id":36250031,"name":"linter-plus","full_name":"AtomLinter/linter-plus","owner":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtomLinter/linter-plus","description":"","fork":false,"url":"https://api.github.com/repos/AtomLinter/linter-plus","forks_url":"https://api.github.com/repos/AtomLinter/linter-plus/forks","keys_url":"https://api.github.com/repos/AtomLinter/linter-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtomLinter/linter-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtomLinter/linter-plus/teams","hooks_url":"https://api.github.com/repos/AtomLinter/linter-plus/hooks","issue_events_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/events{/number}","events_url":"https://api.github.com/repos/AtomLinter/linter-plus/events","assignees_url":"https://api.github.com/repos/AtomLinter/linter-plus/assignees{/user}","branches_url":"https://api.github.com/repos/AtomLinter/linter-plus/branches{/branch}","tags_url":"https://api.github.com/repos/AtomLinter/linter-plus/tags","blobs_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtomLinter/linter-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/AtomLinter/linter-plus/languages","stargazers_url":"https://api.github.com/repos/AtomLinter/linter-plus/stargazers","contributors_url":"https://api.github.com/repos/AtomLinter/linter-plus/contributors","subscribers_url":"https://api.github.com/repos/AtomLinter/linter-plus/subscribers","subscription_url":"https://api.github.com/repos/AtomLinter/linter-plus/subscription","commits_url":"https://api.github.com/repos/AtomLinter/linter-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtomLinter/linter-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtomLinter/linter-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtomLinter/linter-plus/contents/{+path}","compare_url":"https://api.github.com/repos/AtomLinter/linter-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtomLinter/linter-plus/merges","archive_url":"https://api.github.com/repos/AtomLinter/linter-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtomLinter/linter-plus/downloads","issues_url":"https://api.github.com/repos/AtomLinter/linter-plus/issues{/number}","pulls_url":"https://api.github.com/repos/AtomLinter/linter-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/AtomLinter/linter-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/AtomLinter/linter-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtomLinter/linter-plus/labels{/name}","releases_url":"https://api.github.com/repos/AtomLinter/linter-plus/releases{/id}","created_at":"2015-05-25T19:23:15Z","updated_at":"2015-06-12T14:09:57Z","pushed_at":"2015-06-16T14:19:12Z","git_url":"git://github.com/AtomLinter/linter-plus.git","ssh_url":"git@github.com:AtomLinter/linter-plus.git","clone_url":"https://github.com/AtomLinter/linter-plus.git","svn_url":"https://github.com/AtomLinter/linter-plus","homepage":null,"size":1467,"stargazers_count":8,"watchers_count":8,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59"},"html":{"href":"https://github.com/AtomLinter/linter-plus/pull/59"},"issue":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/issues/59"},"comments":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/AtomLinter/linter-plus/statuses/4f8d60c4765119f4b737824d09eb8c70c3e41169"}}}}