{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/markuplint/markuplint/pulls/15","id":206110616,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MTEwNjE2","html_url":"https://github.com/markuplint/markuplint/pull/15","diff_url":"https://github.com/markuplint/markuplint/pull/15.diff","patch_url":"https://github.com/markuplint/markuplint/pull/15.patch","issue_url":"https://api.github.com/repos/markuplint/markuplint/issues/15","number":15,"state":"closed","locked":false,"title":"feat: exit with an error code on problems","user":{"login":"sylvaindumont","id":5496488,"node_id":"MDQ6VXNlcjU0OTY0ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/5496488?v=4","gravatar_id":"","url":"https://api.github.com/users/sylvaindumont","html_url":"https://github.com/sylvaindumont","followers_url":"https://api.github.com/users/sylvaindumont/followers","following_url":"https://api.github.com/users/sylvaindumont/following{/other_user}","gists_url":"https://api.github.com/users/sylvaindumont/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvaindumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvaindumont/subscriptions","organizations_url":"https://api.github.com/users/sylvaindumont/orgs","repos_url":"https://api.github.com/users/sylvaindumont/repos","events_url":"https://api.github.com/users/sylvaindumont/events{/privacy}","received_events_url":"https://api.github.com/users/sylvaindumont/received_events","type":"User","site_admin":false},"body":"It allows to use markuplint in ci and fail if markuplint detect errors.\r\nIt also allows running markuplint via some tools like `concurrently` or `lint-staged` which hang forever without these exit codes.","created_at":"2018-08-03T18:49:11Z","updated_at":"2018-08-06T02:09:53Z","closed_at":"2018-08-06T02:09:53Z","merged_at":"2018-08-06T02:09:53Z","merge_commit_sha":"329da30bb2c4354de965c83b4aef36dc5c8f5d26","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/markuplint/markuplint/pulls/15/commits","review_comments_url":"https://api.github.com/repos/markuplint/markuplint/pulls/15/comments","review_comment_url":"https://api.github.com/repos/markuplint/markuplint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/markuplint/markuplint/issues/15/comments","statuses_url":"https://api.github.com/repos/markuplint/markuplint/statuses/810c5b8634cbc3c1fa9b0525b9df0d915ceb8ddb","head":{"label":"sylvaindumont:master","ref":"master","sha":"810c5b8634cbc3c1fa9b0525b9df0d915ceb8ddb","user":{"login":"sylvaindumont","id":5496488,"node_id":"MDQ6VXNlcjU0OTY0ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/5496488?v=4","gravatar_id":"","url":"https://api.github.com/users/sylvaindumont","html_url":"https://github.com/sylvaindumont","followers_url":"https://api.github.com/users/sylvaindumont/followers","following_url":"https://api.github.com/users/sylvaindumont/following{/other_user}","gists_url":"https://api.github.com/users/sylvaindumont/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvaindumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvaindumont/subscriptions","organizations_url":"https://api.github.com/users/sylvaindumont/orgs","repos_url":"https://api.github.com/users/sylvaindumont/repos","events_url":"https://api.github.com/users/sylvaindumont/events{/privacy}","received_events_url":"https://api.github.com/users/sylvaindumont/received_events","type":"User","site_admin":false},"repo":{"id":143461667,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0NjE2Njc=","name":"markuplint","full_name":"sylvaindumont/markuplint","owner":{"login":"sylvaindumont","id":5496488,"node_id":"MDQ6VXNlcjU0OTY0ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/5496488?v=4","gravatar_id":"","url":"https://api.github.com/users/sylvaindumont","html_url":"https://github.com/sylvaindumont","followers_url":"https://api.github.com/users/sylvaindumont/followers","following_url":"https://api.github.com/users/sylvaindumont/following{/other_user}","gists_url":"https://api.github.com/users/sylvaindumont/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvaindumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvaindumont/subscriptions","organizations_url":"https://api.github.com/users/sylvaindumont/orgs","repos_url":"https://api.github.com/users/sylvaindumont/repos","events_url":"https://api.github.com/users/sylvaindumont/events{/privacy}","received_events_url":"https://api.github.com/users/sylvaindumont/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sylvaindumont/markuplint","description":"HTML linter for legacy/modern HTML, Web Components, SVG, MathML, AMP HTML and more.","fork":true,"url":"https://api.github.com/repos/sylvaindumont/markuplint","forks_url":"https://api.github.com/repos/sylvaindumont/markuplint/forks","keys_url":"https://api.github.com/repos/sylvaindumont/markuplint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sylvaindumont/markuplint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sylvaindumont/markuplint/teams","hooks_url":"https://api.github.com/repos/sylvaindumont/markuplint/hooks","issue_events_url":"https://api.github.com/repos/sylvaindumont/markuplint/issues/events{/number}","events_url":"https://api.github.com/repos/sylvaindumont/markuplint/events","assignees_url":"https://api.github.com/repos/sylvaindumont/markuplint/assignees{/user}","branches_url":"https://api.github.com/repos/sylvaindumont/markuplint/branches{/branch}","tags_url":"https://api.github.com/repos/sylvaindumont/markuplint/tags","blobs_url":"https://api.github.com/repos/sylvaindumont/markuplint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sylvaindumont/markuplint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sylvaindumont/markuplint/git/refs{/sha}","trees_url":"https://api.github.com/repos/sylvaindumont/markuplint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sylvaindumont/markuplint/statuses/{sha}","languages_url":"https://api.github.com/repos/sylvaindumont/markuplint/languages","stargazers_url":"https://api.github.com/repos/sylvaindumont/markuplint/stargazers","contributors_url":"https://api.github.com/repos/sylvaindumont/markuplint/contributors","subscribers_url":"https://api.github.com/repos/sylvaindumont/markuplint/subscribers","subscription_url":"https://api.github.com/repos/sylvaindumont/markuplint/subscription","commits_url":"https://api.github.com/repos/sylvaindumont/markuplint/commits{/sha}","git_commits_url":"https://api.github.com/repos/sylvaindumont/markuplint/git/commits{/sha}","comments_url":"https://api.github.com/repos/sylvaindumont/markuplint/comments{/number}","issue_comment_url":"https://api.github.com/repos/sylvaindumont/markuplint/issues/comments{/number}","contents_url":"https://api.github.com/repos/sylvaindumont/markuplint/contents/{+path}","compare_url":"https://api.github.com/repos/sylvaindumont/markuplint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sylvaindumont/markuplint/merges","archive_url":"https://api.github.com/repos/sylvaindumont/markuplint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sylvaindumont/markuplint/downloads","issues_url":"https://api.github.com/repos/sylvaindumont/markuplint/issues{/number}","pulls_url":"https://api.github.com/repos/sylvaindumont/markuplint/pulls{/number}","milestones_url":"https://api.github.com/repos/sylvaindumont/markuplint/milestones{/number}","notifications_url":"https://api.github.com/repos/sylvaindumont/markuplint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sylvaindumont/markuplint/labels{/name}","releases_url":"https://api.github.com/repos/sylvaindumont/markuplint/releases{/id}","deployments_url":"https://api.github.com/repos/sylvaindumont/markuplint/deployments","created_at":"2018-08-03T18:40:43Z","updated_at":"2018-08-03T18:48:08Z","pushed_at":"2018-08-03T18:48:07Z","git_url":"git://github.com/sylvaindumont/markuplint.git","ssh_url":"git@github.com:sylvaindumont/markuplint.git","clone_url":"https://github.com/sylvaindumont/markuplint.git","svn_url":"https://github.com/sylvaindumont/markuplint","homepage":"https://markuplint.github.io/","size":2083,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"markuplint:master","ref":"master","sha":"e1773d4603458aa9cc00f024e549d7b161d3ce16","user":{"login":"markuplint","id":36771858,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NzcxODU4","avatar_url":"https://avatars0.githubusercontent.com/u/36771858?v=4","gravatar_id":"","url":"https://api.github.com/users/markuplint","html_url":"https://github.com/markuplint","followers_url":"https://api.github.com/users/markuplint/followers","following_url":"https://api.github.com/users/markuplint/following{/other_user}","gists_url":"https://api.github.com/users/markuplint/gists{/gist_id}","starred_url":"https://api.github.com/users/markuplint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuplint/subscriptions","organizations_url":"https://api.github.com/users/markuplint/orgs","repos_url":"https://api.github.com/users/markuplint/repos","events_url":"https://api.github.com/users/markuplint/events{/privacy}","received_events_url":"https://api.github.com/users/markuplint/received_events","type":"Organization","site_admin":false},"repo":{"id":104835801,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ4MzU4MDE=","name":"markuplint","full_name":"markuplint/markuplint","owner":{"login":"markuplint","id":36771858,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NzcxODU4","avatar_url":"https://avatars0.githubusercontent.com/u/36771858?v=4","gravatar_id":"","url":"https://api.github.com/users/markuplint","html_url":"https://github.com/markuplint","followers_url":"https://api.github.com/users/markuplint/followers","following_url":"https://api.github.com/users/markuplint/following{/other_user}","gists_url":"https://api.github.com/users/markuplint/gists{/gist_id}","starred_url":"https://api.github.com/users/markuplint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuplint/subscriptions","organizations_url":"https://api.github.com/users/markuplint/orgs","repos_url":"https://api.github.com/users/markuplint/repos","events_url":"https://api.github.com/users/markuplint/events{/privacy}","received_events_url":"https://api.github.com/users/markuplint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/markuplint/markuplint","description":"HTML linter for legacy/modern HTML, Web Components, SVG, MathML, AMP HTML and more.","fork":false,"url":"https://api.github.com/repos/markuplint/markuplint","forks_url":"https://api.github.com/repos/markuplint/markuplint/forks","keys_url":"https://api.github.com/repos/markuplint/markuplint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markuplint/markuplint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markuplint/markuplint/teams","hooks_url":"https://api.github.com/repos/markuplint/markuplint/hooks","issue_events_url":"https://api.github.com/repos/markuplint/markuplint/issues/events{/number}","events_url":"https://api.github.com/repos/markuplint/markuplint/events","assignees_url":"https://api.github.com/repos/markuplint/markuplint/assignees{/user}","branches_url":"https://api.github.com/repos/markuplint/markuplint/branches{/branch}","tags_url":"https://api.github.com/repos/markuplint/markuplint/tags","blobs_url":"https://api.github.com/repos/markuplint/markuplint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markuplint/markuplint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markuplint/markuplint/git/refs{/sha}","trees_url":"https://api.github.com/repos/markuplint/markuplint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markuplint/markuplint/statuses/{sha}","languages_url":"https://api.github.com/repos/markuplint/markuplint/languages","stargazers_url":"https://api.github.com/repos/markuplint/markuplint/stargazers","contributors_url":"https://api.github.com/repos/markuplint/markuplint/contributors","subscribers_url":"https://api.github.com/repos/markuplint/markuplint/subscribers","subscription_url":"https://api.github.com/repos/markuplint/markuplint/subscription","commits_url":"https://api.github.com/repos/markuplint/markuplint/commits{/sha}","git_commits_url":"https://api.github.com/repos/markuplint/markuplint/git/commits{/sha}","comments_url":"https://api.github.com/repos/markuplint/markuplint/comments{/number}","issue_comment_url":"https://api.github.com/repos/markuplint/markuplint/issues/comments{/number}","contents_url":"https://api.github.com/repos/markuplint/markuplint/contents/{+path}","compare_url":"https://api.github.com/repos/markuplint/markuplint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markuplint/markuplint/merges","archive_url":"https://api.github.com/repos/markuplint/markuplint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markuplint/markuplint/downloads","issues_url":"https://api.github.com/repos/markuplint/markuplint/issues{/number}","pulls_url":"https://api.github.com/repos/markuplint/markuplint/pulls{/number}","milestones_url":"https://api.github.com/repos/markuplint/markuplint/milestones{/number}","notifications_url":"https://api.github.com/repos/markuplint/markuplint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markuplint/markuplint/labels{/name}","releases_url":"https://api.github.com/repos/markuplint/markuplint/releases{/id}","deployments_url":"https://api.github.com/repos/markuplint/markuplint/deployments","created_at":"2017-09-26T04:25:35Z","updated_at":"2018-08-05T18:37:34Z","pushed_at":"2018-08-06T02:09:53Z","git_url":"git://github.com/markuplint/markuplint.git","ssh_url":"git@github.com:markuplint/markuplint.git","clone_url":"https://github.com/markuplint/markuplint.git","svn_url":"https://github.com/markuplint/markuplint","homepage":"https://markuplint.github.io/","size":2082,"stargazers_count":113,"watchers_count":113,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":7,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/markuplint/markuplint/pulls/15"},"html":{"href":"https://github.com/markuplint/markuplint/pull/15"},"issue":{"href":"https://api.github.com/repos/markuplint/markuplint/issues/15"},"comments":{"href":"https://api.github.com/repos/markuplint/markuplint/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/markuplint/markuplint/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/markuplint/markuplint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/markuplint/markuplint/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/markuplint/markuplint/statuses/810c5b8634cbc3c1fa9b0525b9df0d915ceb8ddb"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"YusukeHirao","id":953956,"node_id":"MDQ6VXNlcjk1Mzk1Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/953956?v=4","gravatar_id":"","url":"https://api.github.com/users/YusukeHirao","html_url":"https://github.com/YusukeHirao","followers_url":"https://api.github.com/users/YusukeHirao/followers","following_url":"https://api.github.com/users/YusukeHirao/following{/other_user}","gists_url":"https://api.github.com/users/YusukeHirao/gists{/gist_id}","starred_url":"https://api.github.com/users/YusukeHirao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YusukeHirao/subscriptions","organizations_url":"https://api.github.com/users/YusukeHirao/orgs","repos_url":"https://api.github.com/users/YusukeHirao/repos","events_url":"https://api.github.com/users/YusukeHirao/events{/privacy}","received_events_url":"https://api.github.com/users/YusukeHirao/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"YusukeHirao"}}