{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/7607","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/7607/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/7607/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/7607/events","html_url":"https://github.com/eslint/eslint/pull/7607","id":189495455,"number":7607,"title":"Fix: syntax error after `key-spacing` autofix with comment (fixes #7603)","user":{"login":"not-an-aardvark","id":11638619,"avatar_url":"https://avatars.githubusercontent.com/u/11638619?v=3","gravatar_id":"","url":"https://api.github.com/users/not-an-aardvark","html_url":"https://github.com/not-an-aardvark","followers_url":"https://api.github.com/users/not-an-aardvark/followers","following_url":"https://api.github.com/users/not-an-aardvark/following{/other_user}","gists_url":"https://api.github.com/users/not-an-aardvark/gists{/gist_id}","starred_url":"https://api.github.com/users/not-an-aardvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/not-an-aardvark/subscriptions","organizations_url":"https://api.github.com/users/not-an-aardvark/orgs","repos_url":"https://api.github.com/users/not-an-aardvark/repos","events_url":"https://api.github.com/users/not-an-aardvark/events{/privacy}","received_events_url":"https://api.github.com/users/not-an-aardvark/received_events","type":"User","site_admin":false},"labels":[{"id":131106229,"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc","default":false},{"id":45711350,"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929","default":true},{"id":453468089,"url":"https://api.github.com/repos/eslint/eslint/labels/patch%20candidate","name":"patch candidate","color":"d93f0b","default":false},{"id":45798639,"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T20:17:23Z","updated_at":"2016-11-15T20:17:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/7607","html_url":"https://github.com/eslint/eslint/pull/7607","diff_url":"https://github.com/eslint/eslint/pull/7607.diff","patch_url":"https://github.com/eslint/eslint/pull/7607.patch"},"body":"**What is the purpose of this pull request? (put an \"X\" next to item)**\r\n\r\n[x] Bug fix ([template](https://raw.githubusercontent.com/eslint/eslint/master/templates/bug-report.md))\r\n\r\nhttps://github.com/eslint/eslint/issues/7603\r\n\r\n<!--\r\n    Please ensure your pull request is ready:\r\n\r\n    - Read the pull request guide (http://eslint.org/docs/developer-guide/contributing/pull-requests)\r\n    - Include tests for this change\r\n    - Update documentation for this change (if appropriate)\r\n-->\r\n\r\n<!--\r\n    The following is required for all pull requests:\r\n-->\r\n\r\n**What changes did you make? (Give an overview)**\r\n\r\nThis updates the `key-spacing` autofixer to be aware of comments. Previously, it would remove whitespace from the *token* before/after the colon, but if there was a comment between the token and the colon, it would remove the end of the comment instead, causing a syntax error.\r\n\r\n**Is there anything you'd like reviewers to focus on?**\r\n\r\nNothing in particular."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/260755002","html_url":"https://github.com/eslint/eslint/pull/7607#issuecomment-260755002","issue_url":"https://api.github.com/repos/eslint/eslint/issues/7607","id":260755002,"user":{"login":"eslintbot","id":13383618,"avatar_url":"https://avatars.githubusercontent.com/u/13383618?v=3","gravatar_id":"","url":"https://api.github.com/users/eslintbot","html_url":"https://github.com/eslintbot","followers_url":"https://api.github.com/users/eslintbot/followers","following_url":"https://api.github.com/users/eslintbot/following{/other_user}","gists_url":"https://api.github.com/users/eslintbot/gists{/gist_id}","starred_url":"https://api.github.com/users/eslintbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslintbot/subscriptions","organizations_url":"https://api.github.com/users/eslintbot/orgs","repos_url":"https://api.github.com/users/eslintbot/repos","events_url":"https://api.github.com/users/eslintbot/events{/privacy}","received_events_url":"https://api.github.com/users/eslintbot/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T20:17:24Z","updated_at":"2016-11-15T20:17:24Z","body":"LGTM"}}
{"actor":{"display_login":"eslintbot"}}