{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6066","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6066/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6066/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6066/events","html_url":"https://github.com/eslint/eslint/issues/6066","id":152918409,"number":6066,"title":"Rule Proposal: multiline-ternary","user":{"login":"mysticatea","id":1937871,"avatar_url":"https://avatars.githubusercontent.com/u/1937871?v=3","gravatar_id":"","url":"https://api.github.com/users/mysticatea","html_url":"https://github.com/mysticatea","followers_url":"https://api.github.com/users/mysticatea/followers","following_url":"https://api.github.com/users/mysticatea/following{/other_user}","gists_url":"https://api.github.com/users/mysticatea/gists{/gist_id}","starred_url":"https://api.github.com/users/mysticatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysticatea/subscriptions","organizations_url":"https://api.github.com/users/mysticatea/orgs","repos_url":"https://api.github.com/users/mysticatea/repos","events_url":"https://api.github.com/users/mysticatea/events{/privacy}","received_events_url":"https://api.github.com/users/mysticatea/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0"},{"url":"https://api.github.com/repos/eslint/eslint/labels/feature","name":"feature","color":"bfd4f2"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/eslint/eslint/milestones/15","html_url":"https://github.com/eslint/eslint/milestones/JSCS%20Compatibility","labels_url":"https://api.github.com/repos/eslint/eslint/milestones/15/labels","id":1707375,"number":15,"title":"JSCS Compatibility","description":"","creator":{"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},"open_issues":34,"closed_issues":5,"state":"open","created_at":"2016-04-14T18:09:38Z","updated_at":"2016-06-05T18:27:51Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-05-04T02:45:09Z","updated_at":"2016-06-05T20:24:08Z","closed_at":null,"body":"From [requireMultiLineTernary] and [disallowMultiLineTernary].\r\n\r\nThis rule will require/disallow multiline conditional expressions.\r\n\r\n```js\r\n{\r\n    \"multiline-ternary\": [\r\n        \"error\",\r\n        \"always\" or \"never\"\r\n    ]\r\n}\r\n```\r\n\r\n- `\"always\"` (default) - Requires a line break for each operator (`?` and `:`).\r\n- `\"never\"` - Disallow line breaks in a conditional expression.\r\n\r\n[requireMultiLineTernary]: http://jscs.info/rule/requireMultiLineTernary\r\n[disallowMultiLineTernary]: http://jscs.info/rule/disallowMultiLineTernary"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/223835417","html_url":"https://github.com/eslint/eslint/issues/6066#issuecomment-223835417","issue_url":"https://api.github.com/repos/eslint/eslint/issues/6066","id":223835417,"user":{"login":"kaicataldo","id":7041728,"avatar_url":"https://avatars.githubusercontent.com/u/7041728?v=3","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"created_at":"2016-06-05T20:24:08Z","updated_at":"2016-06-05T20:24:08Z","body":"Thanks - I think I understand! I think you're right, that makes more sense than testing the individual expressions - allows you to configure it to the same value as `max-len`, for instance"}}
{"actor":{"display_login":"kaicataldo"}}