{"action":"opened","issue":{"url":"https://api.github.com/repos/davepacheco/javascriptlint/issues/19","repository_url":"https://api.github.com/repos/davepacheco/javascriptlint","labels_url":"https://api.github.com/repos/davepacheco/javascriptlint/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/davepacheco/javascriptlint/issues/19/comments","events_url":"https://api.github.com/repos/davepacheco/javascriptlint/issues/19/events","html_url":"https://github.com/davepacheco/javascriptlint/issues/19","id":169490750,"number":19,"title":"doesn't flag undeclared use of InternalError","user":{"login":"davepacheco","id":532688,"avatar_url":"https://avatars.githubusercontent.com/u/532688?v=3","gravatar_id":"","url":"https://api.github.com/users/davepacheco","html_url":"https://github.com/davepacheco","followers_url":"https://api.github.com/users/davepacheco/followers","following_url":"https://api.github.com/users/davepacheco/following{/other_user}","gists_url":"https://api.github.com/users/davepacheco/gists{/gist_id}","starred_url":"https://api.github.com/users/davepacheco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davepacheco/subscriptions","organizations_url":"https://api.github.com/users/davepacheco/orgs","repos_url":"https://api.github.com/users/davepacheco/repos","events_url":"https://api.github.com/users/davepacheco/events{/privacy}","received_events_url":"https://api.github.com/users/davepacheco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T22:45:38Z","updated_at":"2016-08-04T22:45:38Z","closed_at":null,"body":"The version of javascriptlint in master right now treats \"InternalError\" as one of the built-in globals, similar to RangeError or TypeError:\r\n\r\nhttps://github.com/davepacheco/javascriptlint/blob/040bf5e429969ae42d976b570fd64c9e17fab20f/javascriptlint/lint.py#L30\r\n\r\nThis appears to be a non-standard class used by Firefox:\r\n\r\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\r\n\r\nIt would probably be better to remove it from the list of built-in globals and have people using Firefox add it as a definition in their project-specific configuration file.\r\n\r\nRight now, if you have (say) Node code that uses an InternalError class, javascriptlint will fail to identify cases where that name hasn't been properly declared."}}
{"actor":{"display_login":"davepacheco"}}