{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/4","repository_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo","labels_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/4/comments","events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/4/events","html_url":"https://github.com/sindresorhus/eslint-plugin-xo/issues/4","id":148591317,"number":4,"title":"Add option to the `throw-new-error` rule for working with custom errors","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-15T08:17:27Z","updated_at":"2016-04-15T10:37:14Z","closed_at":null,"body":"From: https://github.com/sindresorhus/eslint-plugin-xo/commit/53b7133c910695557d9c4a10079fac791b32c4dc#commitcomment-17077491\r\n\r\n> An option that accepts an array of string/regex of error names? Could default to [/Error$/]."},"comment":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/comments/210410264","html_url":"https://github.com/sindresorhus/eslint-plugin-xo/issues/4#issuecomment-210410264","issue_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-xo/issues/4","id":210410264,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T10:37:14Z","updated_at":"2016-04-15T10:37:14Z","body":"`[/Error$/]` would be the default."}}