{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30046","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30046/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30046/comments","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30046/events","html_url":"https://github.com/mozilla-b2g/gaia/pull/30046","id":75968007,"number":30046,"title":"Bug 1159667 - add eslint to tests","user":{"login":"mozfreddyb","id":5418775,"avatar_url":"https://avatars.githubusercontent.com/u/5418775?v=3","gravatar_id":"","url":"https://api.github.com/users/mozfreddyb","html_url":"https://github.com/mozfreddyb","followers_url":"https://api.github.com/users/mozfreddyb/followers","following_url":"https://api.github.com/users/mozfreddyb/following{/other_user}","gists_url":"https://api.github.com/users/mozfreddyb/gists{/gist_id}","starred_url":"https://api.github.com/users/mozfreddyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozfreddyb/subscriptions","organizations_url":"https://api.github.com/users/mozfreddyb/orgs","repos_url":"https://api.github.com/users/mozfreddyb/repos","events_url":"https://api.github.com/users/mozfreddyb/events{/privacy}","received_events_url":"https://api.github.com/users/mozfreddyb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-05-13T12:28:06Z","updated_at":"2015-05-27T15:13:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30046","html_url":"https://github.com/mozilla-b2g/gaia/pull/30046","diff_url":"https://github.com/mozilla-b2g/gaia/pull/30046.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/30046.patch"},"body":"This adds an eslint task, using eslint 0.21.0 and eslint-plugin-no-unsafe-innerhtml 0.1.2.\r\n\r\nThe .eslintrc config disables all rules except the one introduced by the plugin. We can add more over time. For now, it takes JSHINT environment variables in the makefile.\r\n\r\nThe failure in treeherder is intentional, given that there is innerHTML in Gaia to complain about ;)"},"comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments/105951743","html_url":"https://github.com/mozilla-b2g/gaia/pull/30046#issuecomment-105951743","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30046","id":105951743,"user":{"login":"lightsofapollo","id":322957,"avatar_url":"https://avatars.githubusercontent.com/u/322957?v=3","gravatar_id":"","url":"https://api.github.com/users/lightsofapollo","html_url":"https://github.com/lightsofapollo","followers_url":"https://api.github.com/users/lightsofapollo/followers","following_url":"https://api.github.com/users/lightsofapollo/following{/other_user}","gists_url":"https://api.github.com/users/lightsofapollo/gists{/gist_id}","starred_url":"https://api.github.com/users/lightsofapollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightsofapollo/subscriptions","organizations_url":"https://api.github.com/users/lightsofapollo/orgs","repos_url":"https://api.github.com/users/lightsofapollo/repos","events_url":"https://api.github.com/users/lightsofapollo/events{/privacy}","received_events_url":"https://api.github.com/users/lightsofapollo/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T15:13:56Z","updated_at":"2015-05-27T15:13:56Z","body":"Running tests\nhttps://treeherder.mozilla.org/#/jobs?repo=gaia&revision=d9d6f6c441505e59579a8b1d9ba61f4bf75bec10"}}