{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/xo/pulls/comments/83564586","pull_request_review_id":4400328,"id":83564586,"diff_hunk":"@@ -197,6 +197,17 @@ XO is based on ESLint. This project started out as just a shareable ESLint confi\n - [Sublime Text](https://github.com/sindresorhus/SublimeLinter-contrib-xo)\n - [Atom](https://github.com/sindresorhus/atom-linter-xo)\n \n+### Vim\n+\n+You can use [Syntastic](https://github.com/scrooloose/syntastic)'s ESLint checker with the following settings in your `.vimrc` file:\n+\n+```vim\n+let g:syntastic_javascript_eslint_generic = 1\n+let g:syntastic_javascript_eslint_exec = 'xo'\n+let g:syntastic_javascript_eslint_args = '--compact'\n+let g:syntastic_javascript_checkers = ['eslint']\n+```","path":"readme.md","position":13,"original_position":13,"commit_id":"731e1a779c9b823e83b2c400b1b0d1f317b09547","original_commit_id":"731e1a779c9b823e83b2c400b1b0d1f317b09547","user":{"login":"rauchg","id":13041,"avatar_url":"https://avatars.githubusercontent.com/u/13041?v=3","gravatar_id":"","url":"https://api.github.com/users/rauchg","html_url":"https://github.com/rauchg","followers_url":"https://api.github.com/users/rauchg/followers","following_url":"https://api.github.com/users/rauchg/following{/other_user}","gists_url":"https://api.github.com/users/rauchg/gists{/gist_id}","starred_url":"https://api.github.com/users/rauchg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rauchg/subscriptions","organizations_url":"https://api.github.com/users/rauchg/orgs","repos_url":"https://api.github.com/users/rauchg/repos","events_url":"https://api.github.com/users/rauchg/events{/privacy}","received_events_url":"https://api.github.com/users/rauchg/received_events","type":"User","site_admin":false},"body":"Right, but it shouldn't be in the path if the project is not configured with `xo`. Again, this would be optimized for the (in my opinion _correct_) usage of exclusively local per-project linters.","created_at":"2016-10-17T00:17:43Z","updated_at":"2016-10-17T00:17:43Z","html_url":"https://github.com/sindresorhus/xo/pull/29#discussion_r83564586","pull_request_url":"https://api.github.com/repos/sindresorhus/xo/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/xo/pulls/comments/83564586"},"html":{"href":"https://github.com/sindresorhus/xo/pull/29#discussion_r83564586"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/xo/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/xo/pulls/29","id":45704685,"html_url":"https://github.com/sindresorhus/xo/pull/29","diff_url":"https://github.com/sindresorhus/xo/pull/29.diff","patch_url":"https://github.com/sindresorhus/xo/pull/29.patch","issue_url":"https://api.github.com/repos/sindresorhus/xo/issues/29","number":29,"state":"closed","locked":false,"title":"Add documentation about using XO with Vim","user":{"login":"arthurvr","id":6025224,"avatar_url":"https://avatars.githubusercontent.com/u/6025224?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurvr","html_url":"https://github.com/arthurvr","followers_url":"https://api.github.com/users/arthurvr/followers","following_url":"https://api.github.com/users/arthurvr/following{/other_user}","gists_url":"https://api.github.com/users/arthurvr/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurvr/subscriptions","organizations_url":"https://api.github.com/users/arthurvr/orgs","repos_url":"https://api.github.com/users/arthurvr/repos","events_url":"https://api.github.com/users/arthurvr/events{/privacy}","received_events_url":"https://api.github.com/users/arthurvr/received_events","type":"User","site_admin":false},"body":"Ref https://github.com/scrooloose/syntastic/pull/1561\r\nFixes gh-28","created_at":"2015-09-22T19:16:19Z","updated_at":"2016-10-17T00:17:43Z","closed_at":"2015-09-28T19:20:51Z","merged_at":"2015-09-28T19:20:51Z","merge_commit_sha":"5cafc966f6113b845d2da0d2c4b391a143ca6565","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/xo/pulls/29/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/xo/pulls/29/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/xo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/xo/issues/29/comments","statuses_url":"https://api.github.com/repos/sindresorhus/xo/statuses/731e1a779c9b823e83b2c400b1b0d1f317b09547","head":{"label":"sindresorhus:vim","ref":"vim","sha":"731e1a779c9b823e83b2c400b1b0d1f317b09547","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":40053602,"name":"xo","full_name":"sindresorhus/xo","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/xo","description":"❤️ JavaScript happiness style linter","fork":false,"url":"https://api.github.com/repos/sindresorhus/xo","forks_url":"https://api.github.com/repos/sindresorhus/xo/forks","keys_url":"https://api.github.com/repos/sindresorhus/xo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/xo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/xo/teams","hooks_url":"https://api.github.com/repos/sindresorhus/xo/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/xo/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/xo/events","assignees_url":"https://api.github.com/repos/sindresorhus/xo/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/xo/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/xo/tags","blobs_url":"https://api.github.com/repos/sindresorhus/xo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/xo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/xo/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/xo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/xo/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/xo/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/xo/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/xo/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/xo/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/xo/subscription","commits_url":"https://api.github.com/repos/sindresorhus/xo/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/xo/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/xo/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/xo/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/xo/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/xo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/xo/merges","archive_url":"https://api.github.com/repos/sindresorhus/xo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/xo/downloads","issues_url":"https://api.github.com/repos/sindresorhus/xo/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/xo/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/xo/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/xo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/xo/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/xo/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/xo/deployments","created_at":"2015-08-01T16:57:19Z","updated_at":"2016-10-16T20:41:26Z","pushed_at":"2016-10-11T09:41:35Z","git_url":"git://github.com/sindresorhus/xo.git","ssh_url":"git@github.com:sindresorhus/xo.git","clone_url":"https://github.com/sindresorhus/xo.git","svn_url":"https://github.com/sindresorhus/xo","homepage":"","size":284,"stargazers_count":1562,"watchers_count":1562,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":25,"forks":58,"open_issues":25,"watchers":1562,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"c9e089d2deea1f360a9c618f5d7545ea51eee28c","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":40053602,"name":"xo","full_name":"sindresorhus/xo","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/xo","description":"❤️ JavaScript happiness style linter","fork":false,"url":"https://api.github.com/repos/sindresorhus/xo","forks_url":"https://api.github.com/repos/sindresorhus/xo/forks","keys_url":"https://api.github.com/repos/sindresorhus/xo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/xo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/xo/teams","hooks_url":"https://api.github.com/repos/sindresorhus/xo/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/xo/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/xo/events","assignees_url":"https://api.github.com/repos/sindresorhus/xo/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/xo/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/xo/tags","blobs_url":"https://api.github.com/repos/sindresorhus/xo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/xo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/xo/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/xo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/xo/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/xo/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/xo/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/xo/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/xo/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/xo/subscription","commits_url":"https://api.github.com/repos/sindresorhus/xo/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/xo/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/xo/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/xo/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/xo/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/xo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/xo/merges","archive_url":"https://api.github.com/repos/sindresorhus/xo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/xo/downloads","issues_url":"https://api.github.com/repos/sindresorhus/xo/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/xo/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/xo/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/xo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/xo/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/xo/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/xo/deployments","created_at":"2015-08-01T16:57:19Z","updated_at":"2016-10-16T20:41:26Z","pushed_at":"2016-10-11T09:41:35Z","git_url":"git://github.com/sindresorhus/xo.git","ssh_url":"git@github.com:sindresorhus/xo.git","clone_url":"https://github.com/sindresorhus/xo.git","svn_url":"https://github.com/sindresorhus/xo","homepage":"","size":284,"stargazers_count":1562,"watchers_count":1562,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":25,"forks":58,"open_issues":25,"watchers":1562,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/xo/pulls/29"},"html":{"href":"https://github.com/sindresorhus/xo/pull/29"},"issue":{"href":"https://api.github.com/repos/sindresorhus/xo/issues/29"},"comments":{"href":"https://api.github.com/repos/sindresorhus/xo/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/xo/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/xo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/xo/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/xo/statuses/731e1a779c9b823e83b2c400b1b0d1f317b09547"}}}}
{"actor":{"display_login":"rauchg"}}