{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/polymer-linter/issues/94","repository_url":"https://api.github.com/repos/Polymer/polymer-linter","labels_url":"https://api.github.com/repos/Polymer/polymer-linter/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer-linter/issues/94/comments","events_url":"https://api.github.com/repos/Polymer/polymer-linter/issues/94/events","html_url":"https://github.com/Polymer/polymer-linter/issues/94","id":236384337,"number":94,"title":"Warning should exit with 0 instead of 1","user":{"login":"kienpham2000","id":22681,"avatar_url":"https://avatars1.githubusercontent.com/u/22681?v=3","gravatar_id":"","url":"https://api.github.com/users/kienpham2000","html_url":"https://github.com/kienpham2000","followers_url":"https://api.github.com/users/kienpham2000/followers","following_url":"https://api.github.com/users/kienpham2000/following{/other_user}","gists_url":"https://api.github.com/users/kienpham2000/gists{/gist_id}","starred_url":"https://api.github.com/users/kienpham2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kienpham2000/subscriptions","organizations_url":"https://api.github.com/users/kienpham2000/orgs","repos_url":"https://api.github.com/users/kienpham2000/repos","events_url":"https://api.github.com/users/kienpham2000/events{/privacy}","received_events_url":"https://api.github.com/users/kienpham2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-16T05:34:58Z","updated_at":"2017-06-16T05:34:58Z","closed_at":null,"body":"When I run `polymer lint` on a project that only throw warnings, it should exit with code 0, currently it exits with 1. This will fail our build at build system. \r\n\r\nExample:\r\n```\r\n$ polymer lint\r\n.......\r\n          <view-404 name=\"404\"></view-404>\r\n          ~~~~~~~~~~~~~~~~~~~~~\r\n\r\nsrc/test.html(233,10) warning [undefined-elements] - The element view-404 is not defined\r\n\r\nFound  10 warnings.\r\n\r\n$ echo $?\r\n1\r\n```\r\n\r\nThanks"}}
{"actor":{"display_login":"kienpham2000"}}