{"action":"created","comment":{"url":"https://api.github.com/repos/lpil/dogma/pulls/comments/38264204","id":38264204,"diff_hunk":"@@ -0,0 +1,48 @@\n+defmodule Dogma.Formatter.Emacs do","path":"lib/dogma/formatter/emacs.ex","position":1,"original_position":1,"commit_id":"bb52ba1fe0febb1d7b67855a3680e1f9028bc80a","original_commit_id":"97dc047404e43bc2a6022d44dc83bac836718b96","user":{"login":"5thWall","id":280916,"avatar_url":"https://avatars.githubusercontent.com/u/280916?v=3","gravatar_id":"","url":"https://api.github.com/users/5thWall","html_url":"https://github.com/5thWall","followers_url":"https://api.github.com/users/5thWall/followers","following_url":"https://api.github.com/users/5thWall/following{/other_user}","gists_url":"https://api.github.com/users/5thWall/gists{/gist_id}","starred_url":"https://api.github.com/users/5thWall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5thWall/subscriptions","organizations_url":"https://api.github.com/users/5thWall/orgs","repos_url":"https://api.github.com/users/5thWall/repos","events_url":"https://api.github.com/users/5thWall/events{/privacy}","received_events_url":"https://api.github.com/users/5thWall/received_events","type":"User","site_admin":false},"body":"If we're not going for something general like `machine` then let's name it after Flycheck.","created_at":"2015-08-29T17:36:14Z","updated_at":"2015-08-29T17:36:14Z","html_url":"https://github.com/lpil/dogma/pull/87#discussion_r38264204","pull_request_url":"https://api.github.com/repos/lpil/dogma/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/lpil/dogma/pulls/comments/38264204"},"html":{"href":"https://github.com/lpil/dogma/pull/87#discussion_r38264204"},"pull_request":{"href":"https://api.github.com/repos/lpil/dogma/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/lpil/dogma/pulls/87","id":43686601,"html_url":"https://github.com/lpil/dogma/pull/87","diff_url":"https://github.com/lpil/dogma/pull/87.diff","patch_url":"https://github.com/lpil/dogma/pull/87.patch","issue_url":"https://api.github.com/repos/lpil/dogma/issues/87","number":87,"state":"open","locked":false,"title":"Add emacs formatter (for Syntastic/Flycheck integration)","user":{"login":"5thWall","id":280916,"avatar_url":"https://avatars.githubusercontent.com/u/280916?v=3","gravatar_id":"","url":"https://api.github.com/users/5thWall","html_url":"https://github.com/5thWall","followers_url":"https://api.github.com/users/5thWall/followers","following_url":"https://api.github.com/users/5thWall/following{/other_user}","gists_url":"https://api.github.com/users/5thWall/gists{/gist_id}","starred_url":"https://api.github.com/users/5thWall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5thWall/subscriptions","organizations_url":"https://api.github.com/users/5thWall/orgs","repos_url":"https://api.github.com/users/5thWall/repos","events_url":"https://api.github.com/users/5thWall/events{/privacy}","received_events_url":"https://api.github.com/users/5thWall/received_events","type":"User","site_admin":false},"body":"Here's my shot at a Syntastic/Flycheck format. The Syntastic checker for Rubocop uses the emacs format. Both Syntastic and Flycheck require a custom checker to be built for each tool, but this format seems to be the standard output used.\r\n\r\nI've added tests for option parsing, but I'm not sure how you want to handle integration tests.\r\n\r\nCloses #8 ","created_at":"2015-08-29T02:06:25Z","updated_at":"2015-08-29T17:36:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a54babc95ea6d06e5645c9c0653ce6a70e94717","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lpil/dogma/pulls/87/commits","review_comments_url":"https://api.github.com/repos/lpil/dogma/pulls/87/comments","review_comment_url":"https://api.github.com/repos/lpil/dogma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lpil/dogma/issues/87/comments","statuses_url":"https://api.github.com/repos/lpil/dogma/statuses/bb52ba1fe0febb1d7b67855a3680e1f9028bc80a","head":{"label":"5thWall:emacs-formatter","ref":"emacs-formatter","sha":"bb52ba1fe0febb1d7b67855a3680e1f9028bc80a","user":{"login":"5thWall","id":280916,"avatar_url":"https://avatars.githubusercontent.com/u/280916?v=3","gravatar_id":"","url":"https://api.github.com/users/5thWall","html_url":"https://github.com/5thWall","followers_url":"https://api.github.com/users/5thWall/followers","following_url":"https://api.github.com/users/5thWall/following{/other_user}","gists_url":"https://api.github.com/users/5thWall/gists{/gist_id}","starred_url":"https://api.github.com/users/5thWall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5thWall/subscriptions","organizations_url":"https://api.github.com/users/5thWall/orgs","repos_url":"https://api.github.com/users/5thWall/repos","events_url":"https://api.github.com/users/5thWall/events{/privacy}","received_events_url":"https://api.github.com/users/5thWall/received_events","type":"User","site_admin":false},"repo":{"id":41225884,"name":"dogma","full_name":"5thWall/dogma","owner":{"login":"5thWall","id":280916,"avatar_url":"https://avatars.githubusercontent.com/u/280916?v=3","gravatar_id":"","url":"https://api.github.com/users/5thWall","html_url":"https://github.com/5thWall","followers_url":"https://api.github.com/users/5thWall/followers","following_url":"https://api.github.com/users/5thWall/following{/other_user}","gists_url":"https://api.github.com/users/5thWall/gists{/gist_id}","starred_url":"https://api.github.com/users/5thWall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5thWall/subscriptions","organizations_url":"https://api.github.com/users/5thWall/orgs","repos_url":"https://api.github.com/users/5thWall/repos","events_url":"https://api.github.com/users/5thWall/events{/privacy}","received_events_url":"https://api.github.com/users/5thWall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/5thWall/dogma","description":"A code style linter for Elixir, powered by shame.","fork":true,"url":"https://api.github.com/repos/5thWall/dogma","forks_url":"https://api.github.com/repos/5thWall/dogma/forks","keys_url":"https://api.github.com/repos/5thWall/dogma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/5thWall/dogma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/5thWall/dogma/teams","hooks_url":"https://api.github.com/repos/5thWall/dogma/hooks","issue_events_url":"https://api.github.com/repos/5thWall/dogma/issues/events{/number}","events_url":"https://api.github.com/repos/5thWall/dogma/events","assignees_url":"https://api.github.com/repos/5thWall/dogma/assignees{/user}","branches_url":"https://api.github.com/repos/5thWall/dogma/branches{/branch}","tags_url":"https://api.github.com/repos/5thWall/dogma/tags","blobs_url":"https://api.github.com/repos/5thWall/dogma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/5thWall/dogma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/5thWall/dogma/git/refs{/sha}","trees_url":"https://api.github.com/repos/5thWall/dogma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/5thWall/dogma/statuses/{sha}","languages_url":"https://api.github.com/repos/5thWall/dogma/languages","stargazers_url":"https://api.github.com/repos/5thWall/dogma/stargazers","contributors_url":"https://api.github.com/repos/5thWall/dogma/contributors","subscribers_url":"https://api.github.com/repos/5thWall/dogma/subscribers","subscription_url":"https://api.github.com/repos/5thWall/dogma/subscription","commits_url":"https://api.github.com/repos/5thWall/dogma/commits{/sha}","git_commits_url":"https://api.github.com/repos/5thWall/dogma/git/commits{/sha}","comments_url":"https://api.github.com/repos/5thWall/dogma/comments{/number}","issue_comment_url":"https://api.github.com/repos/5thWall/dogma/issues/comments{/number}","contents_url":"https://api.github.com/repos/5thWall/dogma/contents/{+path}","compare_url":"https://api.github.com/repos/5thWall/dogma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/5thWall/dogma/merges","archive_url":"https://api.github.com/repos/5thWall/dogma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/5thWall/dogma/downloads","issues_url":"https://api.github.com/repos/5thWall/dogma/issues{/number}","pulls_url":"https://api.github.com/repos/5thWall/dogma/pulls{/number}","milestones_url":"https://api.github.com/repos/5thWall/dogma/milestones{/number}","notifications_url":"https://api.github.com/repos/5thWall/dogma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/5thWall/dogma/labels{/name}","releases_url":"https://api.github.com/repos/5thWall/dogma/releases{/id}","created_at":"2015-08-22T21:57:12Z","updated_at":"2015-08-22T21:57:13Z","pushed_at":"2015-08-29T16:48:06Z","git_url":"git://github.com/5thWall/dogma.git","ssh_url":"git@github.com:5thWall/dogma.git","clone_url":"https://github.com/5thWall/dogma.git","svn_url":"https://github.com/5thWall/dogma","homepage":"","size":353,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"lpil:master","ref":"master","sha":"719c8cd9c7d89c74fbbdc3d6162ef547d60e4692","user":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"repo":{"id":37659054,"name":"dogma","full_name":"lpil/dogma","owner":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpil/dogma","description":"A code style linter for Elixir, powered by shame.","fork":false,"url":"https://api.github.com/repos/lpil/dogma","forks_url":"https://api.github.com/repos/lpil/dogma/forks","keys_url":"https://api.github.com/repos/lpil/dogma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpil/dogma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpil/dogma/teams","hooks_url":"https://api.github.com/repos/lpil/dogma/hooks","issue_events_url":"https://api.github.com/repos/lpil/dogma/issues/events{/number}","events_url":"https://api.github.com/repos/lpil/dogma/events","assignees_url":"https://api.github.com/repos/lpil/dogma/assignees{/user}","branches_url":"https://api.github.com/repos/lpil/dogma/branches{/branch}","tags_url":"https://api.github.com/repos/lpil/dogma/tags","blobs_url":"https://api.github.com/repos/lpil/dogma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpil/dogma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpil/dogma/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpil/dogma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpil/dogma/statuses/{sha}","languages_url":"https://api.github.com/repos/lpil/dogma/languages","stargazers_url":"https://api.github.com/repos/lpil/dogma/stargazers","contributors_url":"https://api.github.com/repos/lpil/dogma/contributors","subscribers_url":"https://api.github.com/repos/lpil/dogma/subscribers","subscription_url":"https://api.github.com/repos/lpil/dogma/subscription","commits_url":"https://api.github.com/repos/lpil/dogma/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpil/dogma/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpil/dogma/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpil/dogma/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpil/dogma/contents/{+path}","compare_url":"https://api.github.com/repos/lpil/dogma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpil/dogma/merges","archive_url":"https://api.github.com/repos/lpil/dogma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpil/dogma/downloads","issues_url":"https://api.github.com/repos/lpil/dogma/issues{/number}","pulls_url":"https://api.github.com/repos/lpil/dogma/pulls{/number}","milestones_url":"https://api.github.com/repos/lpil/dogma/milestones{/number}","notifications_url":"https://api.github.com/repos/lpil/dogma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpil/dogma/labels{/name}","releases_url":"https://api.github.com/repos/lpil/dogma/releases{/id}","created_at":"2015-06-18T12:47:25Z","updated_at":"2015-08-27T14:22:52Z","pushed_at":"2015-08-29T16:48:06Z","git_url":"git://github.com/lpil/dogma.git","ssh_url":"git@github.com:lpil/dogma.git","clone_url":"https://github.com/lpil/dogma.git","svn_url":"https://github.com/lpil/dogma","homepage":"","size":758,"stargazers_count":29,"watchers_count":29,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":29,"forks":5,"open_issues":29,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lpil/dogma/pulls/87"},"html":{"href":"https://github.com/lpil/dogma/pull/87"},"issue":{"href":"https://api.github.com/repos/lpil/dogma/issues/87"},"comments":{"href":"https://api.github.com/repos/lpil/dogma/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/lpil/dogma/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/lpil/dogma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lpil/dogma/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/lpil/dogma/statuses/bb52ba1fe0febb1d7b67855a3680e1f9028bc80a"}}}}