{"action":"opened","number":62,"pull_request":{"url":"https://api.github.com/repos/prdn/pigato/pulls/62","id":46724937,"html_url":"https://github.com/prdn/pigato/pull/62","diff_url":"https://github.com/prdn/pigato/pull/62.diff","patch_url":"https://github.com/prdn/pigato/pull/62.patch","issue_url":"https://api.github.com/repos/prdn/pigato/issues/62","number":62,"state":"open","locked":false,"title":"eslinting","user":{"login":"allain","id":112751,"avatar_url":"https://avatars.githubusercontent.com/u/112751?v=3","gravatar_id":"","url":"https://api.github.com/users/allain","html_url":"https://github.com/allain","followers_url":"https://api.github.com/users/allain/followers","following_url":"https://api.github.com/users/allain/following{/other_user}","gists_url":"https://api.github.com/users/allain/gists{/gist_id}","starred_url":"https://api.github.com/users/allain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allain/subscriptions","organizations_url":"https://api.github.com/users/allain/orgs","repos_url":"https://api.github.com/users/allain/repos","events_url":"https://api.github.com/users/allain/events{/privacy}","received_events_url":"https://api.github.com/users/allain/received_events","type":"User","site_admin":false},"body":"I've implemented what I think is an eslint formatting configuration that matches the rules the majority of the code seems to follow. In cases where things were inconsistent (semicolon use, spaces before function params, ...) I went with what the majority of the code seems to do.\r\n\r\nI've also made all of the changes required to make it pass, and I've added \"npm run lint\" as a script. It assumes eslint is installed globally, but I've also added an optional dependency in case users don't want to install it globally.","created_at":"2015-10-04T13:18:32Z","updated_at":"2015-10-04T13:18:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prdn/pigato/pulls/62/commits","review_comments_url":"https://api.github.com/repos/prdn/pigato/pulls/62/comments","review_comment_url":"https://api.github.com/repos/prdn/pigato/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prdn/pigato/issues/62/comments","statuses_url":"https://api.github.com/repos/prdn/pigato/statuses/bd642a8218147a8ad043987a16e041b57701c30d","head":{"label":"allain:eslint","ref":"eslint","sha":"bd642a8218147a8ad043987a16e041b57701c30d","user":{"login":"allain","id":112751,"avatar_url":"https://avatars.githubusercontent.com/u/112751?v=3","gravatar_id":"","url":"https://api.github.com/users/allain","html_url":"https://github.com/allain","followers_url":"https://api.github.com/users/allain/followers","following_url":"https://api.github.com/users/allain/following{/other_user}","gists_url":"https://api.github.com/users/allain/gists{/gist_id}","starred_url":"https://api.github.com/users/allain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allain/subscriptions","organizations_url":"https://api.github.com/users/allain/orgs","repos_url":"https://api.github.com/users/allain/repos","events_url":"https://api.github.com/users/allain/events{/privacy}","received_events_url":"https://api.github.com/users/allain/received_events","type":"User","site_admin":false},"repo":{"id":43343637,"name":"pigato","full_name":"allain/pigato","owner":{"login":"allain","id":112751,"avatar_url":"https://avatars.githubusercontent.com/u/112751?v=3","gravatar_id":"","url":"https://api.github.com/users/allain","html_url":"https://github.com/allain","followers_url":"https://api.github.com/users/allain/followers","following_url":"https://api.github.com/users/allain/following{/other_user}","gists_url":"https://api.github.com/users/allain/gists{/gist_id}","starred_url":"https://api.github.com/users/allain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allain/subscriptions","organizations_url":"https://api.github.com/users/allain/orgs","repos_url":"https://api.github.com/users/allain/repos","events_url":"https://api.github.com/users/allain/events{/privacy}","received_events_url":"https://api.github.com/users/allain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/allain/pigato","description":"PIGATO - an high-performance  Node.js microservices framework","fork":true,"url":"https://api.github.com/repos/allain/pigato","forks_url":"https://api.github.com/repos/allain/pigato/forks","keys_url":"https://api.github.com/repos/allain/pigato/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allain/pigato/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allain/pigato/teams","hooks_url":"https://api.github.com/repos/allain/pigato/hooks","issue_events_url":"https://api.github.com/repos/allain/pigato/issues/events{/number}","events_url":"https://api.github.com/repos/allain/pigato/events","assignees_url":"https://api.github.com/repos/allain/pigato/assignees{/user}","branches_url":"https://api.github.com/repos/allain/pigato/branches{/branch}","tags_url":"https://api.github.com/repos/allain/pigato/tags","blobs_url":"https://api.github.com/repos/allain/pigato/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allain/pigato/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allain/pigato/git/refs{/sha}","trees_url":"https://api.github.com/repos/allain/pigato/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allain/pigato/statuses/{sha}","languages_url":"https://api.github.com/repos/allain/pigato/languages","stargazers_url":"https://api.github.com/repos/allain/pigato/stargazers","contributors_url":"https://api.github.com/repos/allain/pigato/contributors","subscribers_url":"https://api.github.com/repos/allain/pigato/subscribers","subscription_url":"https://api.github.com/repos/allain/pigato/subscription","commits_url":"https://api.github.com/repos/allain/pigato/commits{/sha}","git_commits_url":"https://api.github.com/repos/allain/pigato/git/commits{/sha}","comments_url":"https://api.github.com/repos/allain/pigato/comments{/number}","issue_comment_url":"https://api.github.com/repos/allain/pigato/issues/comments{/number}","contents_url":"https://api.github.com/repos/allain/pigato/contents/{+path}","compare_url":"https://api.github.com/repos/allain/pigato/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allain/pigato/merges","archive_url":"https://api.github.com/repos/allain/pigato/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allain/pigato/downloads","issues_url":"https://api.github.com/repos/allain/pigato/issues{/number}","pulls_url":"https://api.github.com/repos/allain/pigato/pulls{/number}","milestones_url":"https://api.github.com/repos/allain/pigato/milestones{/number}","notifications_url":"https://api.github.com/repos/allain/pigato/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allain/pigato/labels{/name}","releases_url":"https://api.github.com/repos/allain/pigato/releases{/id}","created_at":"2015-09-29T03:55:01Z","updated_at":"2015-09-29T03:55:02Z","pushed_at":"2015-10-04T13:13:09Z","git_url":"git://github.com/allain/pigato.git","ssh_url":"git@github.com:allain/pigato.git","clone_url":"https://github.com/allain/pigato.git","svn_url":"https://github.com/allain/pigato","homepage":"http://prdn.github.io/pigato/","size":414,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prdn:master","ref":"master","sha":"c2739b5fe907eeb8ccfb82355bf509442a2df646","user":{"login":"prdn","id":3747053,"avatar_url":"https://avatars.githubusercontent.com/u/3747053?v=3","gravatar_id":"","url":"https://api.github.com/users/prdn","html_url":"https://github.com/prdn","followers_url":"https://api.github.com/users/prdn/followers","following_url":"https://api.github.com/users/prdn/following{/other_user}","gists_url":"https://api.github.com/users/prdn/gists{/gist_id}","starred_url":"https://api.github.com/users/prdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prdn/subscriptions","organizations_url":"https://api.github.com/users/prdn/orgs","repos_url":"https://api.github.com/users/prdn/repos","events_url":"https://api.github.com/users/prdn/events{/privacy}","received_events_url":"https://api.github.com/users/prdn/received_events","type":"User","site_admin":false},"repo":{"id":25031289,"name":"pigato","full_name":"prdn/pigato","owner":{"login":"prdn","id":3747053,"avatar_url":"https://avatars.githubusercontent.com/u/3747053?v=3","gravatar_id":"","url":"https://api.github.com/users/prdn","html_url":"https://github.com/prdn","followers_url":"https://api.github.com/users/prdn/followers","following_url":"https://api.github.com/users/prdn/following{/other_user}","gists_url":"https://api.github.com/users/prdn/gists{/gist_id}","starred_url":"https://api.github.com/users/prdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prdn/subscriptions","organizations_url":"https://api.github.com/users/prdn/orgs","repos_url":"https://api.github.com/users/prdn/repos","events_url":"https://api.github.com/users/prdn/events{/privacy}","received_events_url":"https://api.github.com/users/prdn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prdn/pigato","description":"PIGATO - an high-performance  Node.js microservices framework","fork":false,"url":"https://api.github.com/repos/prdn/pigato","forks_url":"https://api.github.com/repos/prdn/pigato/forks","keys_url":"https://api.github.com/repos/prdn/pigato/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prdn/pigato/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prdn/pigato/teams","hooks_url":"https://api.github.com/repos/prdn/pigato/hooks","issue_events_url":"https://api.github.com/repos/prdn/pigato/issues/events{/number}","events_url":"https://api.github.com/repos/prdn/pigato/events","assignees_url":"https://api.github.com/repos/prdn/pigato/assignees{/user}","branches_url":"https://api.github.com/repos/prdn/pigato/branches{/branch}","tags_url":"https://api.github.com/repos/prdn/pigato/tags","blobs_url":"https://api.github.com/repos/prdn/pigato/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prdn/pigato/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prdn/pigato/git/refs{/sha}","trees_url":"https://api.github.com/repos/prdn/pigato/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prdn/pigato/statuses/{sha}","languages_url":"https://api.github.com/repos/prdn/pigato/languages","stargazers_url":"https://api.github.com/repos/prdn/pigato/stargazers","contributors_url":"https://api.github.com/repos/prdn/pigato/contributors","subscribers_url":"https://api.github.com/repos/prdn/pigato/subscribers","subscription_url":"https://api.github.com/repos/prdn/pigato/subscription","commits_url":"https://api.github.com/repos/prdn/pigato/commits{/sha}","git_commits_url":"https://api.github.com/repos/prdn/pigato/git/commits{/sha}","comments_url":"https://api.github.com/repos/prdn/pigato/comments{/number}","issue_comment_url":"https://api.github.com/repos/prdn/pigato/issues/comments{/number}","contents_url":"https://api.github.com/repos/prdn/pigato/contents/{+path}","compare_url":"https://api.github.com/repos/prdn/pigato/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prdn/pigato/merges","archive_url":"https://api.github.com/repos/prdn/pigato/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prdn/pigato/downloads","issues_url":"https://api.github.com/repos/prdn/pigato/issues{/number}","pulls_url":"https://api.github.com/repos/prdn/pigato/pulls{/number}","milestones_url":"https://api.github.com/repos/prdn/pigato/milestones{/number}","notifications_url":"https://api.github.com/repos/prdn/pigato/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prdn/pigato/labels{/name}","releases_url":"https://api.github.com/repos/prdn/pigato/releases{/id}","created_at":"2014-10-10T10:38:52Z","updated_at":"2015-09-29T21:42:56Z","pushed_at":"2015-10-04T05:37:32Z","git_url":"git://github.com/prdn/pigato.git","ssh_url":"git@github.com:prdn/pigato.git","clone_url":"https://github.com/prdn/pigato.git","svn_url":"https://github.com/prdn/pigato","homepage":"http://prdn.github.io/pigato/","size":1006,"stargazers_count":165,"watchers_count":165,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"open_issues_count":11,"forks":20,"open_issues":11,"watchers":165,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prdn/pigato/pulls/62"},"html":{"href":"https://github.com/prdn/pigato/pull/62"},"issue":{"href":"https://api.github.com/repos/prdn/pigato/issues/62"},"comments":{"href":"https://api.github.com/repos/prdn/pigato/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/prdn/pigato/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/prdn/pigato/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prdn/pigato/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/prdn/pigato/statuses/bd642a8218147a8ad043987a16e041b57701c30d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":254,"deletions":248,"changed_files":19}}