{"action":"opened","number":5574,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/5574","id":62789750,"html_url":"https://github.com/eslint/eslint/pull/5574","diff_url":"https://github.com/eslint/eslint/pull/5574.diff","patch_url":"https://github.com/eslint/eslint/pull/5574.patch","issue_url":"https://api.github.com/repos/eslint/eslint/issues/5574","number":5574,"state":"open","locked":false,"title":"Fix: Overrides for space-unary-ops (fixes #5060)","user":{"login":"afahim","id":1330465,"avatar_url":"https://avatars.githubusercontent.com/u/1330465?v=3","gravatar_id":"","url":"https://api.github.com/users/afahim","html_url":"https://github.com/afahim","followers_url":"https://api.github.com/users/afahim/followers","following_url":"https://api.github.com/users/afahim/following{/other_user}","gists_url":"https://api.github.com/users/afahim/gists{/gist_id}","starred_url":"https://api.github.com/users/afahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afahim/subscriptions","organizations_url":"https://api.github.com/users/afahim/orgs","repos_url":"https://api.github.com/users/afahim/repos","events_url":"https://api.github.com/users/afahim/events{/privacy}","received_events_url":"https://api.github.com/users/afahim/received_events","type":"User","site_admin":false},"body":"I've abstracted some of the logic for handling spaces out into their own functions, so as to make the logic easier to reason about.  Would love to hear your thoughts.","created_at":"2016-03-14T17:52:28Z","updated_at":"2016-03-14T17:52:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eslint/eslint/pulls/5574/commits","review_comments_url":"https://api.github.com/repos/eslint/eslint/pulls/5574/comments","review_comment_url":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/5574/comments","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/949fd5e3a5ef70a38417023bc629e5d2553b7e86","head":{"label":"afahim:issue5060","ref":"issue5060","sha":"949fd5e3a5ef70a38417023bc629e5d2553b7e86","user":{"login":"afahim","id":1330465,"avatar_url":"https://avatars.githubusercontent.com/u/1330465?v=3","gravatar_id":"","url":"https://api.github.com/users/afahim","html_url":"https://github.com/afahim","followers_url":"https://api.github.com/users/afahim/followers","following_url":"https://api.github.com/users/afahim/following{/other_user}","gists_url":"https://api.github.com/users/afahim/gists{/gist_id}","starred_url":"https://api.github.com/users/afahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afahim/subscriptions","organizations_url":"https://api.github.com/users/afahim/orgs","repos_url":"https://api.github.com/users/afahim/repos","events_url":"https://api.github.com/users/afahim/events{/privacy}","received_events_url":"https://api.github.com/users/afahim/received_events","type":"User","site_admin":false},"repo":{"id":51641570,"name":"eslint","full_name":"afahim/eslint","owner":{"login":"afahim","id":1330465,"avatar_url":"https://avatars.githubusercontent.com/u/1330465?v=3","gravatar_id":"","url":"https://api.github.com/users/afahim","html_url":"https://github.com/afahim","followers_url":"https://api.github.com/users/afahim/followers","following_url":"https://api.github.com/users/afahim/following{/other_user}","gists_url":"https://api.github.com/users/afahim/gists{/gist_id}","starred_url":"https://api.github.com/users/afahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afahim/subscriptions","organizations_url":"https://api.github.com/users/afahim/orgs","repos_url":"https://api.github.com/users/afahim/repos","events_url":"https://api.github.com/users/afahim/events{/privacy}","received_events_url":"https://api.github.com/users/afahim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/afahim/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":true,"url":"https://api.github.com/repos/afahim/eslint","forks_url":"https://api.github.com/repos/afahim/eslint/forks","keys_url":"https://api.github.com/repos/afahim/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afahim/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afahim/eslint/teams","hooks_url":"https://api.github.com/repos/afahim/eslint/hooks","issue_events_url":"https://api.github.com/repos/afahim/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/afahim/eslint/events","assignees_url":"https://api.github.com/repos/afahim/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/afahim/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/afahim/eslint/tags","blobs_url":"https://api.github.com/repos/afahim/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afahim/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afahim/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/afahim/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afahim/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/afahim/eslint/languages","stargazers_url":"https://api.github.com/repos/afahim/eslint/stargazers","contributors_url":"https://api.github.com/repos/afahim/eslint/contributors","subscribers_url":"https://api.github.com/repos/afahim/eslint/subscribers","subscription_url":"https://api.github.com/repos/afahim/eslint/subscription","commits_url":"https://api.github.com/repos/afahim/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/afahim/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/afahim/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/afahim/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/afahim/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/afahim/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afahim/eslint/merges","archive_url":"https://api.github.com/repos/afahim/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afahim/eslint/downloads","issues_url":"https://api.github.com/repos/afahim/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/afahim/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/afahim/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/afahim/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afahim/eslint/labels{/name}","releases_url":"https://api.github.com/repos/afahim/eslint/releases{/id}","deployments_url":"https://api.github.com/repos/afahim/eslint/deployments","created_at":"2016-02-13T10:30:51Z","updated_at":"2016-02-13T10:30:53Z","pushed_at":"2016-03-14T17:50:15Z","git_url":"git://github.com/afahim/eslint.git","ssh_url":"git@github.com:afahim/eslint.git","clone_url":"https://github.com/afahim/eslint.git","svn_url":"https://github.com/afahim/eslint","homepage":"http://eslint.org","size":9479,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eslint:master","ref":"master","sha":"a73952af6648d33f84525623f242e0614f9bd05e","user":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"repo":{"id":11061773,"name":"eslint","full_name":"eslint/eslint","owner":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eslint/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":false,"url":"https://api.github.com/repos/eslint/eslint","forks_url":"https://api.github.com/repos/eslint/eslint/forks","keys_url":"https://api.github.com/repos/eslint/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eslint/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eslint/eslint/teams","hooks_url":"https://api.github.com/repos/eslint/eslint/hooks","issue_events_url":"https://api.github.com/repos/eslint/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/eslint/eslint/events","assignees_url":"https://api.github.com/repos/eslint/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/eslint/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/eslint/eslint/tags","blobs_url":"https://api.github.com/repos/eslint/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eslint/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eslint/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/eslint/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/eslint/eslint/languages","stargazers_url":"https://api.github.com/repos/eslint/eslint/stargazers","contributors_url":"https://api.github.com/repos/eslint/eslint/contributors","subscribers_url":"https://api.github.com/repos/eslint/eslint/subscribers","subscription_url":"https://api.github.com/repos/eslint/eslint/subscription","commits_url":"https://api.github.com/repos/eslint/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/eslint/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/eslint/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/eslint/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/eslint/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/eslint/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eslint/eslint/merges","archive_url":"https://api.github.com/repos/eslint/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eslint/eslint/downloads","issues_url":"https://api.github.com/repos/eslint/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/eslint/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/eslint/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/eslint/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eslint/eslint/labels{/name}","releases_url":"https://api.github.com/repos/eslint/eslint/releases{/id}","deployments_url":"https://api.github.com/repos/eslint/eslint/deployments","created_at":"2013-06-29T23:59:48Z","updated_at":"2016-03-14T16:21:32Z","pushed_at":"2016-03-14T17:33:22Z","git_url":"git://github.com/eslint/eslint.git","ssh_url":"git@github.com:eslint/eslint.git","clone_url":"https://github.com/eslint/eslint.git","svn_url":"https://github.com/eslint/eslint","homepage":"http://eslint.org","size":13533,"stargazers_count":4348,"watchers_count":4348,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":855,"mirror_url":null,"open_issues_count":198,"forks":855,"open_issues":198,"watchers":4348,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eslint/eslint/pulls/5574"},"html":{"href":"https://github.com/eslint/eslint/pull/5574"},"issue":{"href":"https://api.github.com/repos/eslint/eslint/issues/5574"},"comments":{"href":"https://api.github.com/repos/eslint/eslint/issues/5574/comments"},"review_comments":{"href":"https://api.github.com/repos/eslint/eslint/pulls/5574/comments"},"review_comment":{"href":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eslint/eslint/pulls/5574/commits"},"statuses":{"href":"https://api.github.com/repos/eslint/eslint/statuses/949fd5e3a5ef70a38417023bc629e5d2553b7e86"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":300,"deletions":61,"changed_files":3}}