{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2366","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2366/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2366/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2366/events","html_url":"https://github.com/eslint/eslint/issues/2366","id":70583794,"number":2366,"title":"brace-style when `if` does not need braces but `else` does","user":{"login":"andy-hanson","id":5387404,"avatar_url":"https://avatars.githubusercontent.com/u/5387404?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-hanson","html_url":"https://github.com/andy-hanson","followers_url":"https://api.github.com/users/andy-hanson/followers","following_url":"https://api.github.com/users/andy-hanson/following{/other_user}","gists_url":"https://api.github.com/users/andy-hanson/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-hanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-hanson/subscriptions","organizations_url":"https://api.github.com/users/andy-hanson/orgs","repos_url":"https://api.github.com/users/andy-hanson/repos","events_url":"https://api.github.com/users/andy-hanson/events{/privacy}","received_events_url":"https://api.github.com/users/andy-hanson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-24T04:28:06Z","updated_at":"2015-04-25T01:55:21Z","closed_at":null,"body":"I'm (think I) want to use `\"brace-style\": [ 1, \"1tbs\", { \"allowSingleLine\": true } ]`.\r\nHowever, that triggers for this:\r\n\r\n\tvar f\r\n\tif (true)\r\n\t\tf = function() {\r\n\t\t\treturn 1\r\n\t\t}\r\n\telse {\r\n\t\tvar x = 1\r\n\t\tf = x\r\n\t}\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/96120983","html_url":"https://github.com/eslint/eslint/issues/2366#issuecomment-96120983","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2366","id":96120983,"user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T01:55:21Z","updated_at":"2015-04-25T01:55:21Z","body":"I'm sorry, I don't quite understand what you're asking. Can you please phase your request in this format:\r\n\r\n1. Here's what I did\r\n1. Here's what happened\r\n1. Here's what I expected to happen\r\n\r\nThanks."}}