{"action":"created","issue":{"url":"https://api.github.com/repos/Travix-International/eslint-config-travix/issues/3","repository_url":"https://api.github.com/repos/Travix-International/eslint-config-travix","labels_url":"https://api.github.com/repos/Travix-International/eslint-config-travix/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Travix-International/eslint-config-travix/issues/3/comments","events_url":"https://api.github.com/repos/Travix-International/eslint-config-travix/issues/3/events","html_url":"https://github.com/Travix-International/eslint-config-travix/pull/3","id":173261899,"number":3,"title":"Enforce the rule 'curly'","user":{"login":"markvincze","id":1122274,"avatar_url":"https://avatars.githubusercontent.com/u/1122274?v=3","gravatar_id":"","url":"https://api.github.com/users/markvincze","html_url":"https://github.com/markvincze","followers_url":"https://api.github.com/users/markvincze/followers","following_url":"https://api.github.com/users/markvincze/following{/other_user}","gists_url":"https://api.github.com/users/markvincze/gists{/gist_id}","starred_url":"https://api.github.com/users/markvincze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markvincze/subscriptions","organizations_url":"https://api.github.com/users/markvincze/orgs","repos_url":"https://api.github.com/users/markvincze/repos","events_url":"https://api.github.com/users/markvincze/events{/privacy}","received_events_url":"https://api.github.com/users/markvincze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"fahad19","id":20046,"avatar_url":"https://avatars.githubusercontent.com/u/20046?v=3","gravatar_id":"","url":"https://api.github.com/users/fahad19","html_url":"https://github.com/fahad19","followers_url":"https://api.github.com/users/fahad19/followers","following_url":"https://api.github.com/users/fahad19/following{/other_user}","gists_url":"https://api.github.com/users/fahad19/gists{/gist_id}","starred_url":"https://api.github.com/users/fahad19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahad19/subscriptions","organizations_url":"https://api.github.com/users/fahad19/orgs","repos_url":"https://api.github.com/users/fahad19/repos","events_url":"https://api.github.com/users/fahad19/events{/privacy}","received_events_url":"https://api.github.com/users/fahad19/received_events","type":"User","site_admin":false},"assignees":[{"login":"fahad19","id":20046,"avatar_url":"https://avatars.githubusercontent.com/u/20046?v=3","gravatar_id":"","url":"https://api.github.com/users/fahad19","html_url":"https://github.com/fahad19","followers_url":"https://api.github.com/users/fahad19/followers","following_url":"https://api.github.com/users/fahad19/following{/other_user}","gists_url":"https://api.github.com/users/fahad19/gists{/gist_id}","starred_url":"https://api.github.com/users/fahad19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahad19/subscriptions","organizations_url":"https://api.github.com/users/fahad19/orgs","repos_url":"https://api.github.com/users/fahad19/repos","events_url":"https://api.github.com/users/fahad19/events{/privacy}","received_events_url":"https://api.github.com/users/fahad19/received_events","type":"User","site_admin":false},{"login":"mAiNiNfEcTiOn","id":1002056,"avatar_url":"https://avatars.githubusercontent.com/u/1002056?v=3","gravatar_id":"","url":"https://api.github.com/users/mAiNiNfEcTiOn","html_url":"https://github.com/mAiNiNfEcTiOn","followers_url":"https://api.github.com/users/mAiNiNfEcTiOn/followers","following_url":"https://api.github.com/users/mAiNiNfEcTiOn/following{/other_user}","gists_url":"https://api.github.com/users/mAiNiNfEcTiOn/gists{/gist_id}","starred_url":"https://api.github.com/users/mAiNiNfEcTiOn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mAiNiNfEcTiOn/subscriptions","organizations_url":"https://api.github.com/users/mAiNiNfEcTiOn/orgs","repos_url":"https://api.github.com/users/mAiNiNfEcTiOn/repos","events_url":"https://api.github.com/users/mAiNiNfEcTiOn/events{/privacy}","received_events_url":"https://api.github.com/users/mAiNiNfEcTiOn/received_events","type":"User","site_admin":false},{"login":"alexmiranda","id":1031418,"avatar_url":"https://avatars.githubusercontent.com/u/1031418?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmiranda","html_url":"https://github.com/alexmiranda","followers_url":"https://api.github.com/users/alexmiranda/followers","following_url":"https://api.github.com/users/alexmiranda/following{/other_user}","gists_url":"https://api.github.com/users/alexmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmiranda/subscriptions","organizations_url":"https://api.github.com/users/alexmiranda/orgs","repos_url":"https://api.github.com/users/alexmiranda/repos","events_url":"https://api.github.com/users/alexmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alexmiranda/received_events","type":"User","site_admin":false},{"login":"heidilaw4","id":5013232,"avatar_url":"https://avatars.githubusercontent.com/u/5013232?v=3","gravatar_id":"","url":"https://api.github.com/users/heidilaw4","html_url":"https://github.com/heidilaw4","followers_url":"https://api.github.com/users/heidilaw4/followers","following_url":"https://api.github.com/users/heidilaw4/following{/other_user}","gists_url":"https://api.github.com/users/heidilaw4/gists{/gist_id}","starred_url":"https://api.github.com/users/heidilaw4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heidilaw4/subscriptions","organizations_url":"https://api.github.com/users/heidilaw4/orgs","repos_url":"https://api.github.com/users/heidilaw4/repos","events_url":"https://api.github.com/users/heidilaw4/events{/privacy}","received_events_url":"https://api.github.com/users/heidilaw4/received_events","type":"User","site_admin":false},{"login":"jvantillo","id":18679743,"avatar_url":"https://avatars.githubusercontent.com/u/18679743?v=3","gravatar_id":"","url":"https://api.github.com/users/jvantillo","html_url":"https://github.com/jvantillo","followers_url":"https://api.github.com/users/jvantillo/followers","following_url":"https://api.github.com/users/jvantillo/following{/other_user}","gists_url":"https://api.github.com/users/jvantillo/gists{/gist_id}","starred_url":"https://api.github.com/users/jvantillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvantillo/subscriptions","organizations_url":"https://api.github.com/users/jvantillo/orgs","repos_url":"https://api.github.com/users/jvantillo/repos","events_url":"https://api.github.com/users/jvantillo/events{/privacy}","received_events_url":"https://api.github.com/users/jvantillo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-25T17:21:58Z","updated_at":"2016-08-26T10:36:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Travix-International/eslint-config-travix/pulls/3","html_url":"https://github.com/Travix-International/eslint-config-travix/pull/3","diff_url":"https://github.com/Travix-International/eslint-config-travix/pull/3.diff","patch_url":"https://github.com/Travix-International/eslint-config-travix/pull/3.patch"},"body":"With this PR we disallow code like\r\n```\r\nif (err) return panicError(err, 1);\r\n```\r\nor\r\n```\r\nif (err)\r\n  return panicError(err, 1);\r\n```\r\nThere is also a new unit test which verifies (with this `curly` rule) if our custom style rules are picked up."},"comment":{"url":"https://api.github.com/repos/Travix-International/eslint-config-travix/issues/comments/242696179","html_url":"https://github.com/Travix-International/eslint-config-travix/pull/3#issuecomment-242696179","issue_url":"https://api.github.com/repos/Travix-International/eslint-config-travix/issues/3","id":242696179,"user":{"login":"alexmiranda","id":1031418,"avatar_url":"https://avatars.githubusercontent.com/u/1031418?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmiranda","html_url":"https://github.com/alexmiranda","followers_url":"https://api.github.com/users/alexmiranda/followers","following_url":"https://api.github.com/users/alexmiranda/following{/other_user}","gists_url":"https://api.github.com/users/alexmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmiranda/subscriptions","organizations_url":"https://api.github.com/users/alexmiranda/orgs","repos_url":"https://api.github.com/users/alexmiranda/repos","events_url":"https://api.github.com/users/alexmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alexmiranda/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T10:36:47Z","updated_at":"2016-08-26T10:36:47Z","body":"LGTM 👍"}}
{"actor":{"display_login":"alexmiranda"}}