{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier/issues/827","repository_url":"https://api.github.com/repos/prettier/prettier","labels_url":"https://api.github.com/repos/prettier/prettier/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/827/comments","events_url":"https://api.github.com/repos/prettier/prettier/issues/827/events","html_url":"https://github.com/prettier/prettier/pull/827","id":210607178,"number":827,"title":"Allow breaking for logical expressions in member chains","user":{"login":"vjeux","id":197597,"avatar_url":"https://avatars.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-27T21:09:36Z","updated_at":"2017-02-27T22:54:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prettier/prettier/pulls/827","html_url":"https://github.com/prettier/prettier/pull/827","diff_url":"https://github.com/prettier/prettier/pull/827.diff","patch_url":"https://github.com/prettier/prettier/pull/827.patch"},"body":"I'm not really sure what a general rule is for those, but starting with LogicalExpressions should be good. Outside of identifiers, function calls and logical expressions, there aren't a lot of things you'd put there in real code anyway.\r\n\r\nFixes #822"},"comment":{"url":"https://api.github.com/repos/prettier/prettier/issues/comments/282883775","html_url":"https://github.com/prettier/prettier/pull/827#issuecomment-282883775","issue_url":"https://api.github.com/repos/prettier/prettier/issues/827","id":282883775,"user":{"login":"vjeux","id":197597,"avatar_url":"https://avatars.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T22:54:02Z","updated_at":"2017-02-27T22:54:02Z","body":"> We haven't really though much about sequence expressions (or whatever they're called), meaning a list of expressions inside parens.\r\n\r\nI haven't seen them used much in real code. I'm not sure we should worry about them until people complain that they do not behave the way they expect.\r\n\r\n> I feel like it would be easy to come up with other code where we want this behavior but it won't apply because your fix is so specific.\r\n\r\nGame on ;) On a more serious note, I can't think of other places where we'd want the same thing happening. This is only an issue for the first element of a member chain where we want to control when we use the long form or not.\r\n\r\nThe member chain logic is pretty complex but it's starting to get really good. The two pull requests I just sent today are super small edge cases and the only crazy things from a really big codebase that people noticed."}}
{"actor":{"display_login":"vjeux"}}