{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/universal-search-addon/issues/40","labels_url":"https://api.github.com/repos/mozilla/universal-search-addon/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/universal-search-addon/issues/40/comments","events_url":"https://api.github.com/repos/mozilla/universal-search-addon/issues/40/events","html_url":"https://github.com/mozilla/universal-search-addon/issues/40","id":93929675,"number":40,"title":"Clean up ESLint errors","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-07-09T01:42:40Z","updated_at":"2015-07-09T01:42:40Z","closed_at":null,"body":"(continued from #39 conversation)\r\n\r\n```sh\r\n$$ npm run lint\r\n\r\n> mozilla-universal-search-addon@1.0.1 lint /Users/pdehaan/dev/github/universal-search-addon\r\n> eslint .\r\n\r\n\r\nbootstrap.js\r\n   5:17  error  Cc is defined but never used         no-unused-vars\r\n   5:33  error  Ci is defined but never used         no-unused-vars\r\n   5:57  error  Cm is defined but never used         no-unused-vars\r\n  11:9   error  startup is defined but never used    no-unused-vars\r\n  16:9   error  shutdown is defined but never used   no-unused-vars\r\n  32:9   error  install is defined but never used    no-unused-vars\r\n  38:9   error  uninstall is defined but never used  no-unused-vars\r\n\r\nlib/main.js\r\n    7:17  error  Cc is defined but never used                no-unused-vars\r\n    7:33  error  Ci is defined but never used                no-unused-vars\r\n    7:57  error  Cm is defined but never used                no-unused-vars\r\n   18:4   error  EXPORTED_SYMBOLS is defined but never used  no-unused-vars\r\n   86:6   error  document is defined but never used          no-unused-vars\r\n  143:4   error  Main is defined but never used              no-unused-vars\r\n\r\nlib/ui/GoButton.js\r\n  5:4  error  EXPORTED_SYMBOLS is defined but never used  no-unused-vars\r\n\r\nlib/ui/Popup.js\r\n   14:4  error  EXPORTED_SYMBOLS is defined but never used  no-unused-vars\r\n  257:4  error  Expected no return value                    consistent-return\r\n\r\nlib/ui/Urlbar.js\r\n  7:4  error  EXPORTED_SYMBOLS is defined but never used  no-unused-vars\r\n\r\n✖ 17 problems (17 errors, 0 warnings)\r\n```\r\n\r\nI can probably clean up most of these by just ignoring the `no-unused-vars` rule on specific lines without needing to disable the rule globally.\r\n\r\nI'll try and come up with a better explanation of the `consistent-return` issue while I'm at it."}}