{"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/78","id":114902596,"html_url":"https://github.com/librato/statsd-librato-backend/pull/78","diff_url":"https://github.com/librato/statsd-librato-backend/pull/78.diff","patch_url":"https://github.com/librato/statsd-librato-backend/pull/78.patch","issue_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues/78","number":78,"state":"open","locked":false,"title":"Add eslint support","user":{"login":"bryanmikaelian","id":312291,"avatar_url":"https://avatars0.githubusercontent.com/u/312291?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmikaelian","html_url":"https://github.com/bryanmikaelian","followers_url":"https://api.github.com/users/bryanmikaelian/followers","following_url":"https://api.github.com/users/bryanmikaelian/following{/other_user}","gists_url":"https://api.github.com/users/bryanmikaelian/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmikaelian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmikaelian/subscriptions","organizations_url":"https://api.github.com/users/bryanmikaelian/orgs","repos_url":"https://api.github.com/users/bryanmikaelian/repos","events_url":"https://api.github.com/users/bryanmikaelian/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmikaelian/received_events","type":"User","site_admin":false},"body":"This PR adds eslint support. The following major changes have been made:\r\n\r\n- [x] `librato.js` and `librato_test.js` have been linted and fixed up\r\n- [x] Initial `.eslintrc.json` has been added but is not necessarily set in stone\r\n- [x] A `pre-commit` hook has been added that runs lint and CI tests. ","created_at":"2017-04-07T21:18:23Z","updated_at":"2017-04-07T21:18:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/librato/statsd-librato-backend/milestones/1","html_url":"https://github.com/librato/statsd-librato-backend/milestone/1","labels_url":"https://api.github.com/repos/librato/statsd-librato-backend/milestones/1/labels","id":2441582,"number":1,"title":"Better Tooling","description":"With 2.x.x out the door, we need to start bringing our tools, test suite and CI in to 2017. Some high level goals are to install a linter, use Code Climate, and explore better testing options","creator":{"login":"bryanmikaelian","id":312291,"avatar_url":"https://avatars0.githubusercontent.com/u/312291?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmikaelian","html_url":"https://github.com/bryanmikaelian","followers_url":"https://api.github.com/users/bryanmikaelian/followers","following_url":"https://api.github.com/users/bryanmikaelian/following{/other_user}","gists_url":"https://api.github.com/users/bryanmikaelian/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmikaelian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmikaelian/subscriptions","organizations_url":"https://api.github.com/users/bryanmikaelian/orgs","repos_url":"https://api.github.com/users/bryanmikaelian/repos","events_url":"https://api.github.com/users/bryanmikaelian/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmikaelian/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2017-04-06T20:53:36Z","updated_at":"2017-04-07T21:18:23Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/78/commits","review_comments_url":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/78/comments","review_comment_url":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues/78/comments","statuses_url":"https://api.github.com/repos/librato/statsd-librato-backend/statuses/846f7aa06ebdc1452896dd8b363f8b8cf4fd7ba0","head":{"label":"librato:feature/linter","ref":"feature/linter","sha":"846f7aa06ebdc1452896dd8b363f8b8cf4fd7ba0","user":{"login":"librato","id":146042,"avatar_url":"https://avatars3.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"repo":{"id":4349914,"name":"statsd-librato-backend","full_name":"librato/statsd-librato-backend","owner":{"login":"librato","id":146042,"avatar_url":"https://avatars3.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librato/statsd-librato-backend","description":"A StatsD backend that sends metrics to Librato Metrics","fork":false,"url":"https://api.github.com/repos/librato/statsd-librato-backend","forks_url":"https://api.github.com/repos/librato/statsd-librato-backend/forks","keys_url":"https://api.github.com/repos/librato/statsd-librato-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librato/statsd-librato-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librato/statsd-librato-backend/teams","hooks_url":"https://api.github.com/repos/librato/statsd-librato-backend/hooks","issue_events_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues/events{/number}","events_url":"https://api.github.com/repos/librato/statsd-librato-backend/events","assignees_url":"https://api.github.com/repos/librato/statsd-librato-backend/assignees{/user}","branches_url":"https://api.github.com/repos/librato/statsd-librato-backend/branches{/branch}","tags_url":"https://api.github.com/repos/librato/statsd-librato-backend/tags","blobs_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librato/statsd-librato-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/librato/statsd-librato-backend/languages","stargazers_url":"https://api.github.com/repos/librato/statsd-librato-backend/stargazers","contributors_url":"https://api.github.com/repos/librato/statsd-librato-backend/contributors","subscribers_url":"https://api.github.com/repos/librato/statsd-librato-backend/subscribers","subscription_url":"https://api.github.com/repos/librato/statsd-librato-backend/subscription","commits_url":"https://api.github.com/repos/librato/statsd-librato-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/librato/statsd-librato-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/librato/statsd-librato-backend/contents/{+path}","compare_url":"https://api.github.com/repos/librato/statsd-librato-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librato/statsd-librato-backend/merges","archive_url":"https://api.github.com/repos/librato/statsd-librato-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librato/statsd-librato-backend/downloads","issues_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues{/number}","pulls_url":"https://api.github.com/repos/librato/statsd-librato-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/librato/statsd-librato-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/librato/statsd-librato-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librato/statsd-librato-backend/labels{/name}","releases_url":"https://api.github.com/repos/librato/statsd-librato-backend/releases{/id}","deployments_url":"https://api.github.com/repos/librato/statsd-librato-backend/deployments","created_at":"2012-05-16T17:44:11Z","updated_at":"2017-04-06T23:53:04Z","pushed_at":"2017-04-07T21:15:56Z","git_url":"git://github.com/librato/statsd-librato-backend.git","ssh_url":"git@github.com:librato/statsd-librato-backend.git","clone_url":"https://github.com/librato/statsd-librato-backend.git","svn_url":"https://github.com/librato/statsd-librato-backend","homepage":null,"size":169,"stargazers_count":71,"watchers_count":71,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":11,"forks":35,"open_issues":11,"watchers":71,"default_branch":"master"}},"base":{"label":"librato:master","ref":"master","sha":"eda371b342337361d403fa264184519de214fead","user":{"login":"librato","id":146042,"avatar_url":"https://avatars3.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"repo":{"id":4349914,"name":"statsd-librato-backend","full_name":"librato/statsd-librato-backend","owner":{"login":"librato","id":146042,"avatar_url":"https://avatars3.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librato/statsd-librato-backend","description":"A StatsD backend that sends metrics to Librato Metrics","fork":false,"url":"https://api.github.com/repos/librato/statsd-librato-backend","forks_url":"https://api.github.com/repos/librato/statsd-librato-backend/forks","keys_url":"https://api.github.com/repos/librato/statsd-librato-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librato/statsd-librato-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librato/statsd-librato-backend/teams","hooks_url":"https://api.github.com/repos/librato/statsd-librato-backend/hooks","issue_events_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues/events{/number}","events_url":"https://api.github.com/repos/librato/statsd-librato-backend/events","assignees_url":"https://api.github.com/repos/librato/statsd-librato-backend/assignees{/user}","branches_url":"https://api.github.com/repos/librato/statsd-librato-backend/branches{/branch}","tags_url":"https://api.github.com/repos/librato/statsd-librato-backend/tags","blobs_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librato/statsd-librato-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/librato/statsd-librato-backend/languages","stargazers_url":"https://api.github.com/repos/librato/statsd-librato-backend/stargazers","contributors_url":"https://api.github.com/repos/librato/statsd-librato-backend/contributors","subscribers_url":"https://api.github.com/repos/librato/statsd-librato-backend/subscribers","subscription_url":"https://api.github.com/repos/librato/statsd-librato-backend/subscription","commits_url":"https://api.github.com/repos/librato/statsd-librato-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/librato/statsd-librato-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/librato/statsd-librato-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/librato/statsd-librato-backend/contents/{+path}","compare_url":"https://api.github.com/repos/librato/statsd-librato-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librato/statsd-librato-backend/merges","archive_url":"https://api.github.com/repos/librato/statsd-librato-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librato/statsd-librato-backend/downloads","issues_url":"https://api.github.com/repos/librato/statsd-librato-backend/issues{/number}","pulls_url":"https://api.github.com/repos/librato/statsd-librato-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/librato/statsd-librato-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/librato/statsd-librato-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librato/statsd-librato-backend/labels{/name}","releases_url":"https://api.github.com/repos/librato/statsd-librato-backend/releases{/id}","deployments_url":"https://api.github.com/repos/librato/statsd-librato-backend/deployments","created_at":"2012-05-16T17:44:11Z","updated_at":"2017-04-06T23:53:04Z","pushed_at":"2017-04-07T21:15:56Z","git_url":"git://github.com/librato/statsd-librato-backend.git","ssh_url":"git@github.com:librato/statsd-librato-backend.git","clone_url":"https://github.com/librato/statsd-librato-backend.git","svn_url":"https://github.com/librato/statsd-librato-backend","homepage":null,"size":169,"stargazers_count":71,"watchers_count":71,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":11,"forks":35,"open_issues":11,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/78"},"html":{"href":"https://github.com/librato/statsd-librato-backend/pull/78"},"issue":{"href":"https://api.github.com/repos/librato/statsd-librato-backend/issues/78"},"comments":{"href":"https://api.github.com/repos/librato/statsd-librato-backend/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librato/statsd-librato-backend/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/librato/statsd-librato-backend/statuses/846f7aa06ebdc1452896dd8b363f8b8cf4fd7ba0"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":821,"deletions":398,"changed_files":5}}
{"actor":{"display_login":"bryanmikaelian"}}