{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/19","id":199134540,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MTM0NTQw","html_url":"https://github.com/FoxSportsAustralia/fs-default-project-config/pull/19","diff_url":"https://github.com/FoxSportsAustralia/fs-default-project-config/pull/19.diff","patch_url":"https://github.com/FoxSportsAustralia/fs-default-project-config/pull/19.patch","issue_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/issues/19","number":19,"state":"open","locked":false,"title":"Require linebreaks be placed before operators","user":{"login":"steve-taylor","id":1135589,"node_id":"MDQ6VXNlcjExMzU1ODk=","avatar_url":"https://avatars3.githubusercontent.com/u/1135589?v=4","gravatar_id":"","url":"https://api.github.com/users/steve-taylor","html_url":"https://github.com/steve-taylor","followers_url":"https://api.github.com/users/steve-taylor/followers","following_url":"https://api.github.com/users/steve-taylor/following{/other_user}","gists_url":"https://api.github.com/users/steve-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-taylor/subscriptions","organizations_url":"https://api.github.com/users/steve-taylor/orgs","repos_url":"https://api.github.com/users/steve-taylor/repos","events_url":"https://api.github.com/users/steve-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/steve-taylor/received_events","type":"User","site_admin":false},"body":"This makes multi-line expressions more maintainable when lines are split on operators, especially `+` and `-`.\r\n\r\nConsider this example:\r\n\r\n```js\r\nconst x =\r\n    a +\r\n    b -\r\n    c +\r\n    d\r\n; // eslint-disable-line semi-style\r\n```\r\n\r\nIf I want to remove one of the terms, I can't simply remove a line, because the sign is part of the term which continues on the next line. However, if it's reformatted like this:\r\n\r\n```js\r\nconst x =\r\n    a\r\n    + b\r\n    - c\r\n    + d\r\n; // eslint-disable-line semi-style\r\n```\r\n\r\nI can remove one of the terms simply by removing a line. It also makes reordering easier and less prone to bugs.","created_at":"2018-07-04T04:08:59Z","updated_at":"2018-07-04T04:08:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/19/commits","review_comments_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/19/comments","review_comment_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/issues/19/comments","statuses_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/statuses/d1e4dde4054560019cb21a8f694b2a241376eb38","head":{"label":"steve-taylor:master","ref":"master","sha":"d1e4dde4054560019cb21a8f694b2a241376eb38","user":{"login":"steve-taylor","id":1135589,"node_id":"MDQ6VXNlcjExMzU1ODk=","avatar_url":"https://avatars3.githubusercontent.com/u/1135589?v=4","gravatar_id":"","url":"https://api.github.com/users/steve-taylor","html_url":"https://github.com/steve-taylor","followers_url":"https://api.github.com/users/steve-taylor/followers","following_url":"https://api.github.com/users/steve-taylor/following{/other_user}","gists_url":"https://api.github.com/users/steve-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-taylor/subscriptions","organizations_url":"https://api.github.com/users/steve-taylor/orgs","repos_url":"https://api.github.com/users/steve-taylor/repos","events_url":"https://api.github.com/users/steve-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/steve-taylor/received_events","type":"User","site_admin":false},"repo":{"id":139665500,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk2NjU1MDA=","name":"fs-default-project-config","full_name":"steve-taylor/fs-default-project-config","owner":{"login":"steve-taylor","id":1135589,"node_id":"MDQ6VXNlcjExMzU1ODk=","avatar_url":"https://avatars3.githubusercontent.com/u/1135589?v=4","gravatar_id":"","url":"https://api.github.com/users/steve-taylor","html_url":"https://github.com/steve-taylor","followers_url":"https://api.github.com/users/steve-taylor/followers","following_url":"https://api.github.com/users/steve-taylor/following{/other_user}","gists_url":"https://api.github.com/users/steve-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-taylor/subscriptions","organizations_url":"https://api.github.com/users/steve-taylor/orgs","repos_url":"https://api.github.com/users/steve-taylor/repos","events_url":"https://api.github.com/users/steve-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/steve-taylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steve-taylor/fs-default-project-config","description":"Standards and linting rules for foxsports FE developers","fork":true,"url":"https://api.github.com/repos/steve-taylor/fs-default-project-config","forks_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/forks","keys_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/teams","hooks_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/hooks","issue_events_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/issues/events{/number}","events_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/events","assignees_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/assignees{/user}","branches_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/branches{/branch}","tags_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/tags","blobs_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/git/refs{/sha}","trees_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/statuses/{sha}","languages_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/languages","stargazers_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/stargazers","contributors_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/contributors","subscribers_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/subscribers","subscription_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/subscription","commits_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/commits{/sha}","git_commits_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/git/commits{/sha}","comments_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/comments{/number}","issue_comment_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/issues/comments{/number}","contents_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/contents/{+path}","compare_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/merges","archive_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/downloads","issues_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/issues{/number}","pulls_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/pulls{/number}","milestones_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/milestones{/number}","notifications_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/labels{/name}","releases_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/releases{/id}","deployments_url":"https://api.github.com/repos/steve-taylor/fs-default-project-config/deployments","created_at":"2018-07-04T03:48:22Z","updated_at":"2018-07-04T04:00:14Z","pushed_at":"2018-07-04T04:00:13Z","git_url":"git://github.com/steve-taylor/fs-default-project-config.git","ssh_url":"git@github.com:steve-taylor/fs-default-project-config.git","clone_url":"https://github.com/steve-taylor/fs-default-project-config.git","svn_url":"https://github.com/steve-taylor/fs-default-project-config","homepage":"","size":55,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FoxSportsAustralia:master","ref":"master","sha":"888c37d264880e64818b5807eb5e9752e0291ab5","user":{"login":"FoxSportsAustralia","id":12554082,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTU0MDgy","avatar_url":"https://avatars2.githubusercontent.com/u/12554082?v=4","gravatar_id":"","url":"https://api.github.com/users/FoxSportsAustralia","html_url":"https://github.com/FoxSportsAustralia","followers_url":"https://api.github.com/users/FoxSportsAustralia/followers","following_url":"https://api.github.com/users/FoxSportsAustralia/following{/other_user}","gists_url":"https://api.github.com/users/FoxSportsAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/FoxSportsAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoxSportsAustralia/subscriptions","organizations_url":"https://api.github.com/users/FoxSportsAustralia/orgs","repos_url":"https://api.github.com/users/FoxSportsAustralia/repos","events_url":"https://api.github.com/users/FoxSportsAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/FoxSportsAustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":53285904,"node_id":"MDEwOlJlcG9zaXRvcnk1MzI4NTkwNA==","name":"fs-default-project-config","full_name":"FoxSportsAustralia/fs-default-project-config","owner":{"login":"FoxSportsAustralia","id":12554082,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTU0MDgy","avatar_url":"https://avatars2.githubusercontent.com/u/12554082?v=4","gravatar_id":"","url":"https://api.github.com/users/FoxSportsAustralia","html_url":"https://github.com/FoxSportsAustralia","followers_url":"https://api.github.com/users/FoxSportsAustralia/followers","following_url":"https://api.github.com/users/FoxSportsAustralia/following{/other_user}","gists_url":"https://api.github.com/users/FoxSportsAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/FoxSportsAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoxSportsAustralia/subscriptions","organizations_url":"https://api.github.com/users/FoxSportsAustralia/orgs","repos_url":"https://api.github.com/users/FoxSportsAustralia/repos","events_url":"https://api.github.com/users/FoxSportsAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/FoxSportsAustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FoxSportsAustralia/fs-default-project-config","description":"Standards and linting rules for foxsports FE developers","fork":false,"url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config","forks_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/forks","keys_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/teams","hooks_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/hooks","issue_events_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/issues/events{/number}","events_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/events","assignees_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/assignees{/user}","branches_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/branches{/branch}","tags_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/tags","blobs_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/git/refs{/sha}","trees_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/statuses/{sha}","languages_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/languages","stargazers_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/stargazers","contributors_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/contributors","subscribers_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/subscribers","subscription_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/subscription","commits_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/commits{/sha}","git_commits_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/git/commits{/sha}","comments_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/comments{/number}","issue_comment_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/issues/comments{/number}","contents_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/contents/{+path}","compare_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/merges","archive_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/downloads","issues_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/issues{/number}","pulls_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls{/number}","milestones_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/milestones{/number}","notifications_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/labels{/name}","releases_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/releases{/id}","deployments_url":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/deployments","created_at":"2016-03-07T01:17:13Z","updated_at":"2017-12-15T03:22:00Z","pushed_at":"2018-02-02T02:37:18Z","git_url":"git://github.com/FoxSportsAustralia/fs-default-project-config.git","ssh_url":"git@github.com:FoxSportsAustralia/fs-default-project-config.git","clone_url":"https://github.com/FoxSportsAustralia/fs-default-project-config.git","svn_url":"https://github.com/FoxSportsAustralia/fs-default-project-config","homepage":"","size":55,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":3,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/19"},"html":{"href":"https://github.com/FoxSportsAustralia/fs-default-project-config/pull/19"},"issue":{"href":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/issues/19"},"comments":{"href":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/FoxSportsAustralia/fs-default-project-config/statuses/d1e4dde4054560019cb21a8f694b2a241376eb38"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"steve-taylor"}}