{"action":"created","comment":{"url":"https://api.github.com/repos/kete/kete/pulls/comments/31681958","id":31681958,"diff_hunk":"@@ -0,0 +1,15 @@\n+module.exports = function(grunt) {","path":"Gruntfile.js","position":1,"original_position":1,"commit_id":"dc652083e241c901f2be1349e28aeb8ad002c583","original_commit_id":"b8888eafcf0c9ec3ec8a1872610ee0c881c57495","user":{"login":"eoinkelly","id":599867,"avatar_url":"https://avatars.githubusercontent.com/u/599867?v=3","gravatar_id":"","url":"https://api.github.com/users/eoinkelly","html_url":"https://github.com/eoinkelly","followers_url":"https://api.github.com/users/eoinkelly/followers","following_url":"https://api.github.com/users/eoinkelly/following{/other_user}","gists_url":"https://api.github.com/users/eoinkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/eoinkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eoinkelly/subscriptions","organizations_url":"https://api.github.com/users/eoinkelly/orgs","repos_url":"https://api.github.com/users/eoinkelly/repos","events_url":"https://api.github.com/users/eoinkelly/events{/privacy}","received_events_url":"https://api.github.com/users/eoinkelly/received_events","type":"User","site_admin":false},"body":"Since there is only one task (linting) I have set grunts default task to it. `./node_modules/.bin/grunt jshint` will also work but is more typing.","created_at":"2015-06-03T23:39:57Z","updated_at":"2015-06-03T23:39:57Z","html_url":"https://github.com/kete/kete/pull/81#discussion_r31681958","pull_request_url":"https://api.github.com/repos/kete/kete/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/kete/kete/pulls/comments/31681958"},"html":{"href":"https://github.com/kete/kete/pull/81#discussion_r31681958"},"pull_request":{"href":"https://api.github.com/repos/kete/kete/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/kete/kete/pulls/81","id":36472507,"html_url":"https://github.com/kete/kete/pull/81","diff_url":"https://github.com/kete/kete/pull/81.diff","patch_url":"https://github.com/kete/kete/pull/81.patch","issue_url":"https://api.github.com/repos/kete/kete/issues/81","number":81,"state":"open","locked":false,"title":"Setup Ruby & JS linting. Setup editorconfig","user":{"login":"eoinkelly","id":599867,"avatar_url":"https://avatars.githubusercontent.com/u/599867?v=3","gravatar_id":"","url":"https://api.github.com/users/eoinkelly","html_url":"https://github.com/eoinkelly","followers_url":"https://api.github.com/users/eoinkelly/followers","following_url":"https://api.github.com/users/eoinkelly/following{/other_user}","gists_url":"https://api.github.com/users/eoinkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/eoinkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eoinkelly/subscriptions","organizations_url":"https://api.github.com/users/eoinkelly/orgs","repos_url":"https://api.github.com/users/eoinkelly/repos","events_url":"https://api.github.com/users/eoinkelly/events{/privacy}","received_events_url":"https://api.github.com/users/eoinkelly/received_events","type":"User","site_admin":false},"body":"* Add editorconfg configuration file to maintain consistent whitespace\r\n  across developers and editors\r\n* Add jshint configuration and make a minor edit to the site JS to make\r\n  it pass linting\r\n* Configure rubocop to ignore all existing style violations (of which\r\n  there are many). Existing violations may be dealt with in future PRs\r\n  and this approach allows us to have linting for new code.\r\n* Configure travis to run rubocop","created_at":"2015-05-29T04:04:42Z","updated_at":"2015-06-03T23:39:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cd64a48e151b3daf1897caf7ffc8f07d5595bb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kete/kete/pulls/81/commits","review_comments_url":"https://api.github.com/repos/kete/kete/pulls/81/comments","review_comment_url":"https://api.github.com/repos/kete/kete/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kete/kete/issues/81/comments","statuses_url":"https://api.github.com/repos/kete/kete/statuses/dc652083e241c901f2be1349e28aeb8ad002c583","head":{"label":"kete:ek/linting","ref":"ek/linting","sha":"dc652083e241c901f2be1349e28aeb8ad002c583","user":{"login":"kete","id":16226,"avatar_url":"https://avatars.githubusercontent.com/u/16226?v=3","gravatar_id":"","url":"https://api.github.com/users/kete","html_url":"https://github.com/kete","followers_url":"https://api.github.com/users/kete/followers","following_url":"https://api.github.com/users/kete/following{/other_user}","gists_url":"https://api.github.com/users/kete/gists{/gist_id}","starred_url":"https://api.github.com/users/kete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kete/subscriptions","organizations_url":"https://api.github.com/users/kete/orgs","repos_url":"https://api.github.com/users/kete/repos","events_url":"https://api.github.com/users/kete/events{/privacy}","received_events_url":"https://api.github.com/users/kete/received_events","type":"Organization","site_admin":false},"repo":{"id":33876,"name":"kete","full_name":"kete/kete","owner":{"login":"kete","id":16226,"avatar_url":"https://avatars.githubusercontent.com/u/16226?v=3","gravatar_id":"","url":"https://api.github.com/users/kete","html_url":"https://github.com/kete","followers_url":"https://api.github.com/users/kete/followers","following_url":"https://api.github.com/users/kete/following{/other_user}","gists_url":"https://api.github.com/users/kete/gists{/gist_id}","starred_url":"https://api.github.com/users/kete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kete/subscriptions","organizations_url":"https://api.github.com/users/kete/orgs","repos_url":"https://api.github.com/users/kete/repos","events_url":"https://api.github.com/users/kete/events{/privacy}","received_events_url":"https://api.github.com/users/kete/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kete/kete","description":"Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.","fork":false,"url":"https://api.github.com/repos/kete/kete","forks_url":"https://api.github.com/repos/kete/kete/forks","keys_url":"https://api.github.com/repos/kete/kete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kete/kete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kete/kete/teams","hooks_url":"https://api.github.com/repos/kete/kete/hooks","issue_events_url":"https://api.github.com/repos/kete/kete/issues/events{/number}","events_url":"https://api.github.com/repos/kete/kete/events","assignees_url":"https://api.github.com/repos/kete/kete/assignees{/user}","branches_url":"https://api.github.com/repos/kete/kete/branches{/branch}","tags_url":"https://api.github.com/repos/kete/kete/tags","blobs_url":"https://api.github.com/repos/kete/kete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kete/kete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kete/kete/git/refs{/sha}","trees_url":"https://api.github.com/repos/kete/kete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kete/kete/statuses/{sha}","languages_url":"https://api.github.com/repos/kete/kete/languages","stargazers_url":"https://api.github.com/repos/kete/kete/stargazers","contributors_url":"https://api.github.com/repos/kete/kete/contributors","subscribers_url":"https://api.github.com/repos/kete/kete/subscribers","subscription_url":"https://api.github.com/repos/kete/kete/subscription","commits_url":"https://api.github.com/repos/kete/kete/commits{/sha}","git_commits_url":"https://api.github.com/repos/kete/kete/git/commits{/sha}","comments_url":"https://api.github.com/repos/kete/kete/comments{/number}","issue_comment_url":"https://api.github.com/repos/kete/kete/issues/comments{/number}","contents_url":"https://api.github.com/repos/kete/kete/contents/{+path}","compare_url":"https://api.github.com/repos/kete/kete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kete/kete/merges","archive_url":"https://api.github.com/repos/kete/kete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kete/kete/downloads","issues_url":"https://api.github.com/repos/kete/kete/issues{/number}","pulls_url":"https://api.github.com/repos/kete/kete/pulls{/number}","milestones_url":"https://api.github.com/repos/kete/kete/milestones{/number}","notifications_url":"https://api.github.com/repos/kete/kete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kete/kete/labels{/name}","releases_url":"https://api.github.com/repos/kete/kete/releases{/id}","created_at":"2008-07-14T07:19:24Z","updated_at":"2015-05-21T22:40:30Z","pushed_at":"2015-06-03T23:38:39Z","git_url":"git://github.com/kete/kete.git","ssh_url":"git@github.com:kete/kete.git","clone_url":"https://github.com/kete/kete.git","svn_url":"https://github.com/kete/kete","homepage":"http://kete.net.nz/","size":36435,"stargazers_count":55,"watchers_count":55,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":55,"default_branch":"kete2"}},"base":{"label":"kete:kete2","ref":"kete2","sha":"d75ce943123bf954333d4df5b2162680ac657190","user":{"login":"kete","id":16226,"avatar_url":"https://avatars.githubusercontent.com/u/16226?v=3","gravatar_id":"","url":"https://api.github.com/users/kete","html_url":"https://github.com/kete","followers_url":"https://api.github.com/users/kete/followers","following_url":"https://api.github.com/users/kete/following{/other_user}","gists_url":"https://api.github.com/users/kete/gists{/gist_id}","starred_url":"https://api.github.com/users/kete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kete/subscriptions","organizations_url":"https://api.github.com/users/kete/orgs","repos_url":"https://api.github.com/users/kete/repos","events_url":"https://api.github.com/users/kete/events{/privacy}","received_events_url":"https://api.github.com/users/kete/received_events","type":"Organization","site_admin":false},"repo":{"id":33876,"name":"kete","full_name":"kete/kete","owner":{"login":"kete","id":16226,"avatar_url":"https://avatars.githubusercontent.com/u/16226?v=3","gravatar_id":"","url":"https://api.github.com/users/kete","html_url":"https://github.com/kete","followers_url":"https://api.github.com/users/kete/followers","following_url":"https://api.github.com/users/kete/following{/other_user}","gists_url":"https://api.github.com/users/kete/gists{/gist_id}","starred_url":"https://api.github.com/users/kete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kete/subscriptions","organizations_url":"https://api.github.com/users/kete/orgs","repos_url":"https://api.github.com/users/kete/repos","events_url":"https://api.github.com/users/kete/events{/privacy}","received_events_url":"https://api.github.com/users/kete/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kete/kete","description":"Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.","fork":false,"url":"https://api.github.com/repos/kete/kete","forks_url":"https://api.github.com/repos/kete/kete/forks","keys_url":"https://api.github.com/repos/kete/kete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kete/kete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kete/kete/teams","hooks_url":"https://api.github.com/repos/kete/kete/hooks","issue_events_url":"https://api.github.com/repos/kete/kete/issues/events{/number}","events_url":"https://api.github.com/repos/kete/kete/events","assignees_url":"https://api.github.com/repos/kete/kete/assignees{/user}","branches_url":"https://api.github.com/repos/kete/kete/branches{/branch}","tags_url":"https://api.github.com/repos/kete/kete/tags","blobs_url":"https://api.github.com/repos/kete/kete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kete/kete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kete/kete/git/refs{/sha}","trees_url":"https://api.github.com/repos/kete/kete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kete/kete/statuses/{sha}","languages_url":"https://api.github.com/repos/kete/kete/languages","stargazers_url":"https://api.github.com/repos/kete/kete/stargazers","contributors_url":"https://api.github.com/repos/kete/kete/contributors","subscribers_url":"https://api.github.com/repos/kete/kete/subscribers","subscription_url":"https://api.github.com/repos/kete/kete/subscription","commits_url":"https://api.github.com/repos/kete/kete/commits{/sha}","git_commits_url":"https://api.github.com/repos/kete/kete/git/commits{/sha}","comments_url":"https://api.github.com/repos/kete/kete/comments{/number}","issue_comment_url":"https://api.github.com/repos/kete/kete/issues/comments{/number}","contents_url":"https://api.github.com/repos/kete/kete/contents/{+path}","compare_url":"https://api.github.com/repos/kete/kete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kete/kete/merges","archive_url":"https://api.github.com/repos/kete/kete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kete/kete/downloads","issues_url":"https://api.github.com/repos/kete/kete/issues{/number}","pulls_url":"https://api.github.com/repos/kete/kete/pulls{/number}","milestones_url":"https://api.github.com/repos/kete/kete/milestones{/number}","notifications_url":"https://api.github.com/repos/kete/kete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kete/kete/labels{/name}","releases_url":"https://api.github.com/repos/kete/kete/releases{/id}","created_at":"2008-07-14T07:19:24Z","updated_at":"2015-05-21T22:40:30Z","pushed_at":"2015-06-03T23:38:39Z","git_url":"git://github.com/kete/kete.git","ssh_url":"git@github.com:kete/kete.git","clone_url":"https://github.com/kete/kete.git","svn_url":"https://github.com/kete/kete","homepage":"http://kete.net.nz/","size":36435,"stargazers_count":55,"watchers_count":55,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":55,"default_branch":"kete2"}},"_links":{"self":{"href":"https://api.github.com/repos/kete/kete/pulls/81"},"html":{"href":"https://github.com/kete/kete/pull/81"},"issue":{"href":"https://api.github.com/repos/kete/kete/issues/81"},"comments":{"href":"https://api.github.com/repos/kete/kete/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/kete/kete/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/kete/kete/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kete/kete/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/kete/kete/statuses/dc652083e241c901f2be1349e28aeb8ad002c583"}}}}