{"action":"created","comment":{"url":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/comments/188757777","pull_request_review_id":120802048,"id":188757777,"diff_hunk":"@@ -69,6 +78,26 @@ describe(\"integration\", () => {\n     });\n   }\n \n+  for (const example of goodWithInfo) {\n+\n+    const { name, yaml, errPath, rule: exampleRule } = example;\n+\n+    describe(name, () => {\n+      it(\"should inform with info\", () => {\n+        const result = defaultLint(yaml);\n+        expect(result).to.have.lengthOf(1);\n+\n+        const [{ rule, type, positions }] = result;","path":"src/test/integration.ts","position":51,"original_position":51,"commit_id":"0a6fa481850f02cb2c0bce608fe28601421b25e1","original_commit_id":"0a6fa481850f02cb2c0bce608fe28601421b25e1","user":{"login":"jadengore","id":1921464,"avatar_url":"https://avatars3.githubusercontent.com/u/1921464?v=4","gravatar_id":"","url":"https://api.github.com/users/jadengore","html_url":"https://github.com/jadengore","followers_url":"https://api.github.com/users/jadengore/followers","following_url":"https://api.github.com/users/jadengore/following{/other_user}","gists_url":"https://api.github.com/users/jadengore/gists{/gist_id}","starred_url":"https://api.github.com/users/jadengore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadengore/subscriptions","organizations_url":"https://api.github.com/users/jadengore/orgs","repos_url":"https://api.github.com/users/jadengore/repos","events_url":"https://api.github.com/users/jadengore/events{/privacy}","received_events_url":"https://api.github.com/users/jadengore/received_events","type":"User","site_admin":false},"body":"@dexhorthy I rarely use it, only when picking the first element off an array. You can do nested object destructuring, which as you may expect can quickly become horrifying.\r\n\r\nSee: https://medium.com/@pyrolistical/destructuring-nested-objects-9dabdd01a3b8","created_at":"2018-05-16T20:15:44Z","updated_at":"2018-05-16T20:15:44Z","html_url":"https://github.com/replicatedhq/replicated-lint/pull/97#discussion_r188757777","pull_request_url":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/comments/188757777"},"html":{"href":"https://github.com/replicatedhq/replicated-lint/pull/97#discussion_r188757777"},"pull_request":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97"}},"in_reply_to_id":188755813},"pull_request":{"url":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97","id":188540720,"html_url":"https://github.com/replicatedhq/replicated-lint/pull/97","diff_url":"https://github.com/replicatedhq/replicated-lint/pull/97.diff","patch_url":"https://github.com/replicatedhq/replicated-lint/pull/97.patch","issue_url":"https://api.github.com/repos/replicatedhq/replicated-lint/issues/97","number":97,"state":"open","locked":false,"title":"Add support bundle info rule","user":{"login":"jadengore","id":1921464,"avatar_url":"https://avatars3.githubusercontent.com/u/1921464?v=4","gravatar_id":"","url":"https://api.github.com/users/jadengore","html_url":"https://github.com/jadengore","followers_url":"https://api.github.com/users/jadengore/followers","following_url":"https://api.github.com/users/jadengore/following{/other_user}","gists_url":"https://api.github.com/users/jadengore/gists{/gist_id}","starred_url":"https://api.github.com/users/jadengore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadengore/subscriptions","organizations_url":"https://api.github.com/users/jadengore/orgs","repos_url":"https://api.github.com/users/jadengore/repos","events_url":"https://api.github.com/users/jadengore/events{/privacy}","received_events_url":"https://api.github.com/users/jadengore/received_events","type":"User","site_admin":false},"body":"Adds an info rule that checks if a support key is added, and notifies the user that additional support configuration can be found in the Replicated Console.\r\n","created_at":"2018-05-16T19:49:11Z","updated_at":"2018-05-16T20:15:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50b4d9244cf0618d33fb4dfc4623f3eeb08712ab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97/commits","review_comments_url":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97/comments","review_comment_url":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/replicatedhq/replicated-lint/issues/97/comments","statuses_url":"https://api.github.com/repos/replicatedhq/replicated-lint/statuses/0a6fa481850f02cb2c0bce608fe28601421b25e1","head":{"label":"jadengore:support-bundle-info","ref":"support-bundle-info","sha":"0a6fa481850f02cb2c0bce608fe28601421b25e1","user":{"login":"jadengore","id":1921464,"avatar_url":"https://avatars3.githubusercontent.com/u/1921464?v=4","gravatar_id":"","url":"https://api.github.com/users/jadengore","html_url":"https://github.com/jadengore","followers_url":"https://api.github.com/users/jadengore/followers","following_url":"https://api.github.com/users/jadengore/following{/other_user}","gists_url":"https://api.github.com/users/jadengore/gists{/gist_id}","starred_url":"https://api.github.com/users/jadengore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadengore/subscriptions","organizations_url":"https://api.github.com/users/jadengore/orgs","repos_url":"https://api.github.com/users/jadengore/repos","events_url":"https://api.github.com/users/jadengore/events{/privacy}","received_events_url":"https://api.github.com/users/jadengore/received_events","type":"User","site_admin":false},"repo":{"id":133715062,"name":"replicated-lint","full_name":"jadengore/replicated-lint","owner":{"login":"jadengore","id":1921464,"avatar_url":"https://avatars3.githubusercontent.com/u/1921464?v=4","gravatar_id":"","url":"https://api.github.com/users/jadengore","html_url":"https://github.com/jadengore","followers_url":"https://api.github.com/users/jadengore/followers","following_url":"https://api.github.com/users/jadengore/following{/other_user}","gists_url":"https://api.github.com/users/jadengore/gists{/gist_id}","starred_url":"https://api.github.com/users/jadengore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadengore/subscriptions","organizations_url":"https://api.github.com/users/jadengore/orgs","repos_url":"https://api.github.com/users/jadengore/repos","events_url":"https://api.github.com/users/jadengore/events{/privacy}","received_events_url":"https://api.github.com/users/jadengore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jadengore/replicated-lint","description":"YAML linting tools for Replicated applications","fork":true,"url":"https://api.github.com/repos/jadengore/replicated-lint","forks_url":"https://api.github.com/repos/jadengore/replicated-lint/forks","keys_url":"https://api.github.com/repos/jadengore/replicated-lint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jadengore/replicated-lint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jadengore/replicated-lint/teams","hooks_url":"https://api.github.com/repos/jadengore/replicated-lint/hooks","issue_events_url":"https://api.github.com/repos/jadengore/replicated-lint/issues/events{/number}","events_url":"https://api.github.com/repos/jadengore/replicated-lint/events","assignees_url":"https://api.github.com/repos/jadengore/replicated-lint/assignees{/user}","branches_url":"https://api.github.com/repos/jadengore/replicated-lint/branches{/branch}","tags_url":"https://api.github.com/repos/jadengore/replicated-lint/tags","blobs_url":"https://api.github.com/repos/jadengore/replicated-lint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jadengore/replicated-lint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jadengore/replicated-lint/git/refs{/sha}","trees_url":"https://api.github.com/repos/jadengore/replicated-lint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jadengore/replicated-lint/statuses/{sha}","languages_url":"https://api.github.com/repos/jadengore/replicated-lint/languages","stargazers_url":"https://api.github.com/repos/jadengore/replicated-lint/stargazers","contributors_url":"https://api.github.com/repos/jadengore/replicated-lint/contributors","subscribers_url":"https://api.github.com/repos/jadengore/replicated-lint/subscribers","subscription_url":"https://api.github.com/repos/jadengore/replicated-lint/subscription","commits_url":"https://api.github.com/repos/jadengore/replicated-lint/commits{/sha}","git_commits_url":"https://api.github.com/repos/jadengore/replicated-lint/git/commits{/sha}","comments_url":"https://api.github.com/repos/jadengore/replicated-lint/comments{/number}","issue_comment_url":"https://api.github.com/repos/jadengore/replicated-lint/issues/comments{/number}","contents_url":"https://api.github.com/repos/jadengore/replicated-lint/contents/{+path}","compare_url":"https://api.github.com/repos/jadengore/replicated-lint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jadengore/replicated-lint/merges","archive_url":"https://api.github.com/repos/jadengore/replicated-lint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jadengore/replicated-lint/downloads","issues_url":"https://api.github.com/repos/jadengore/replicated-lint/issues{/number}","pulls_url":"https://api.github.com/repos/jadengore/replicated-lint/pulls{/number}","milestones_url":"https://api.github.com/repos/jadengore/replicated-lint/milestones{/number}","notifications_url":"https://api.github.com/repos/jadengore/replicated-lint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jadengore/replicated-lint/labels{/name}","releases_url":"https://api.github.com/repos/jadengore/replicated-lint/releases{/id}","deployments_url":"https://api.github.com/repos/jadengore/replicated-lint/deployments","created_at":"2018-05-16T19:41:29Z","updated_at":"2018-05-16T19:41:31Z","pushed_at":"2018-05-16T19:45:48Z","git_url":"git://github.com/jadengore/replicated-lint.git","ssh_url":"git@github.com:jadengore/replicated-lint.git","clone_url":"https://github.com/jadengore/replicated-lint.git","svn_url":"https://github.com/jadengore/replicated-lint","homepage":"","size":491,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"replicatedhq:master","ref":"master","sha":"7a75b71a19dd95688e6bf40087c7c1cc94da26e4","user":{"login":"replicatedhq","id":13105802,"avatar_url":"https://avatars3.githubusercontent.com/u/13105802?v=4","gravatar_id":"","url":"https://api.github.com/users/replicatedhq","html_url":"https://github.com/replicatedhq","followers_url":"https://api.github.com/users/replicatedhq/followers","following_url":"https://api.github.com/users/replicatedhq/following{/other_user}","gists_url":"https://api.github.com/users/replicatedhq/gists{/gist_id}","starred_url":"https://api.github.com/users/replicatedhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/replicatedhq/subscriptions","organizations_url":"https://api.github.com/users/replicatedhq/orgs","repos_url":"https://api.github.com/users/replicatedhq/repos","events_url":"https://api.github.com/users/replicatedhq/events{/privacy}","received_events_url":"https://api.github.com/users/replicatedhq/received_events","type":"Organization","site_admin":false},"repo":{"id":93898894,"name":"replicated-lint","full_name":"replicatedhq/replicated-lint","owner":{"login":"replicatedhq","id":13105802,"avatar_url":"https://avatars3.githubusercontent.com/u/13105802?v=4","gravatar_id":"","url":"https://api.github.com/users/replicatedhq","html_url":"https://github.com/replicatedhq","followers_url":"https://api.github.com/users/replicatedhq/followers","following_url":"https://api.github.com/users/replicatedhq/following{/other_user}","gists_url":"https://api.github.com/users/replicatedhq/gists{/gist_id}","starred_url":"https://api.github.com/users/replicatedhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/replicatedhq/subscriptions","organizations_url":"https://api.github.com/users/replicatedhq/orgs","repos_url":"https://api.github.com/users/replicatedhq/repos","events_url":"https://api.github.com/users/replicatedhq/events{/privacy}","received_events_url":"https://api.github.com/users/replicatedhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/replicatedhq/replicated-lint","description":"YAML linting tools for Replicated applications","fork":false,"url":"https://api.github.com/repos/replicatedhq/replicated-lint","forks_url":"https://api.github.com/repos/replicatedhq/replicated-lint/forks","keys_url":"https://api.github.com/repos/replicatedhq/replicated-lint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/replicatedhq/replicated-lint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/replicatedhq/replicated-lint/teams","hooks_url":"https://api.github.com/repos/replicatedhq/replicated-lint/hooks","issue_events_url":"https://api.github.com/repos/replicatedhq/replicated-lint/issues/events{/number}","events_url":"https://api.github.com/repos/replicatedhq/replicated-lint/events","assignees_url":"https://api.github.com/repos/replicatedhq/replicated-lint/assignees{/user}","branches_url":"https://api.github.com/repos/replicatedhq/replicated-lint/branches{/branch}","tags_url":"https://api.github.com/repos/replicatedhq/replicated-lint/tags","blobs_url":"https://api.github.com/repos/replicatedhq/replicated-lint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/replicatedhq/replicated-lint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/replicatedhq/replicated-lint/git/refs{/sha}","trees_url":"https://api.github.com/repos/replicatedhq/replicated-lint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/replicatedhq/replicated-lint/statuses/{sha}","languages_url":"https://api.github.com/repos/replicatedhq/replicated-lint/languages","stargazers_url":"https://api.github.com/repos/replicatedhq/replicated-lint/stargazers","contributors_url":"https://api.github.com/repos/replicatedhq/replicated-lint/contributors","subscribers_url":"https://api.github.com/repos/replicatedhq/replicated-lint/subscribers","subscription_url":"https://api.github.com/repos/replicatedhq/replicated-lint/subscription","commits_url":"https://api.github.com/repos/replicatedhq/replicated-lint/commits{/sha}","git_commits_url":"https://api.github.com/repos/replicatedhq/replicated-lint/git/commits{/sha}","comments_url":"https://api.github.com/repos/replicatedhq/replicated-lint/comments{/number}","issue_comment_url":"https://api.github.com/repos/replicatedhq/replicated-lint/issues/comments{/number}","contents_url":"https://api.github.com/repos/replicatedhq/replicated-lint/contents/{+path}","compare_url":"https://api.github.com/repos/replicatedhq/replicated-lint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/replicatedhq/replicated-lint/merges","archive_url":"https://api.github.com/repos/replicatedhq/replicated-lint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/replicatedhq/replicated-lint/downloads","issues_url":"https://api.github.com/repos/replicatedhq/replicated-lint/issues{/number}","pulls_url":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls{/number}","milestones_url":"https://api.github.com/repos/replicatedhq/replicated-lint/milestones{/number}","notifications_url":"https://api.github.com/repos/replicatedhq/replicated-lint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/replicatedhq/replicated-lint/labels{/name}","releases_url":"https://api.github.com/repos/replicatedhq/replicated-lint/releases{/id}","deployments_url":"https://api.github.com/repos/replicatedhq/replicated-lint/deployments","created_at":"2017-06-09T21:41:23Z","updated_at":"2018-05-05T12:59:01Z","pushed_at":"2018-05-16T19:49:11Z","git_url":"git://github.com/replicatedhq/replicated-lint.git","ssh_url":"git@github.com:replicatedhq/replicated-lint.git","clone_url":"https://github.com/replicatedhq/replicated-lint.git","svn_url":"https://github.com/replicatedhq/replicated-lint","homepage":"","size":491,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":8,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97"},"html":{"href":"https://github.com/replicatedhq/replicated-lint/pull/97"},"issue":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/issues/97"},"comments":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/replicatedhq/replicated-lint/statuses/0a6fa481850f02cb2c0bce608fe28601421b25e1"}},"author_association":"NONE"}}
{"actor":{"display_login":"jadengore"}}