{"action":"closed","number":118,"pull_request":{"url":"https://api.github.com/repos/node-schedule/node-schedule/pulls/118","id":31301641,"html_url":"https://github.com/node-schedule/node-schedule/pull/118","diff_url":"https://github.com/node-schedule/node-schedule/pull/118.diff","patch_url":"https://github.com/node-schedule/node-schedule/pull/118.patch","issue_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/118","number":118,"state":"closed","locked":false,"title":"update linter to ensure all block statements are wrapped in curly braces","user":{"login":"jonhester","id":3527123,"avatar_url":"https://avatars.githubusercontent.com/u/3527123?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhester","html_url":"https://github.com/jonhester","followers_url":"https://api.github.com/users/jonhester/followers","following_url":"https://api.github.com/users/jonhester/following{/other_user}","gists_url":"https://api.github.com/users/jonhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhester/subscriptions","organizations_url":"https://api.github.com/users/jonhester/orgs","repos_url":"https://api.github.com/users/jonhester/repos","events_url":"https://api.github.com/users/jonhester/events{/privacy}","received_events_url":"https://api.github.com/users/jonhester/received_events","type":"User","site_admin":false},"body":"This change is per https://github.com/node-schedule/node-schedule/pull/112/files#r26470548. There were quite a few single line block statements that had to be updated to pass the linter. See http://eslint.org/docs/rules/curly.html and https://github.com/airbnb/javascript#blocks for some more info on this. Airbnb doesn't seem to address anything but multiline blocks. I also realized that the current linting rules weren't enforcing 2 space indentation, so I added that rule as well.\r\n\r\nLet me know what you think.","created_at":"2015-03-17T02:02:31Z","updated_at":"2015-03-17T04:17:09Z","closed_at":"2015-03-17T04:17:09Z","merged_at":null,"merge_commit_sha":"5a9005776e89e87ae8608a213b3a578e7333e929","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/node-schedule/node-schedule/pulls/118/commits","review_comments_url":"https://api.github.com/repos/node-schedule/node-schedule/pulls/118/comments","review_comment_url":"https://api.github.com/repos/node-schedule/node-schedule/pulls/comments{/number}","comments_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/118/comments","statuses_url":"https://api.github.com/repos/node-schedule/node-schedule/statuses/5c2e0b1a286c73f368897b8a0c29ab914bf5efcc","head":{"label":"jonhester:update-linter","ref":"update-linter","sha":"5c2e0b1a286c73f368897b8a0c29ab914bf5efcc","user":{"login":"jonhester","id":3527123,"avatar_url":"https://avatars.githubusercontent.com/u/3527123?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhester","html_url":"https://github.com/jonhester","followers_url":"https://api.github.com/users/jonhester/followers","following_url":"https://api.github.com/users/jonhester/following{/other_user}","gists_url":"https://api.github.com/users/jonhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhester/subscriptions","organizations_url":"https://api.github.com/users/jonhester/orgs","repos_url":"https://api.github.com/users/jonhester/repos","events_url":"https://api.github.com/users/jonhester/events{/privacy}","received_events_url":"https://api.github.com/users/jonhester/received_events","type":"User","site_admin":false},"repo":{"id":31422719,"name":"node-schedule","full_name":"jonhester/node-schedule","owner":{"login":"jonhester","id":3527123,"avatar_url":"https://avatars.githubusercontent.com/u/3527123?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhester","html_url":"https://github.com/jonhester","followers_url":"https://api.github.com/users/jonhester/followers","following_url":"https://api.github.com/users/jonhester/following{/other_user}","gists_url":"https://api.github.com/users/jonhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhester/subscriptions","organizations_url":"https://api.github.com/users/jonhester/orgs","repos_url":"https://api.github.com/users/jonhester/repos","events_url":"https://api.github.com/users/jonhester/events{/privacy}","received_events_url":"https://api.github.com/users/jonhester/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonhester/node-schedule","description":"A cron-like and not-cron-like job scheduler for Node.","fork":true,"url":"https://api.github.com/repos/jonhester/node-schedule","forks_url":"https://api.github.com/repos/jonhester/node-schedule/forks","keys_url":"https://api.github.com/repos/jonhester/node-schedule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonhester/node-schedule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonhester/node-schedule/teams","hooks_url":"https://api.github.com/repos/jonhester/node-schedule/hooks","issue_events_url":"https://api.github.com/repos/jonhester/node-schedule/issues/events{/number}","events_url":"https://api.github.com/repos/jonhester/node-schedule/events","assignees_url":"https://api.github.com/repos/jonhester/node-schedule/assignees{/user}","branches_url":"https://api.github.com/repos/jonhester/node-schedule/branches{/branch}","tags_url":"https://api.github.com/repos/jonhester/node-schedule/tags","blobs_url":"https://api.github.com/repos/jonhester/node-schedule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonhester/node-schedule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonhester/node-schedule/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonhester/node-schedule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonhester/node-schedule/statuses/{sha}","languages_url":"https://api.github.com/repos/jonhester/node-schedule/languages","stargazers_url":"https://api.github.com/repos/jonhester/node-schedule/stargazers","contributors_url":"https://api.github.com/repos/jonhester/node-schedule/contributors","subscribers_url":"https://api.github.com/repos/jonhester/node-schedule/subscribers","subscription_url":"https://api.github.com/repos/jonhester/node-schedule/subscription","commits_url":"https://api.github.com/repos/jonhester/node-schedule/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonhester/node-schedule/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonhester/node-schedule/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonhester/node-schedule/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonhester/node-schedule/contents/{+path}","compare_url":"https://api.github.com/repos/jonhester/node-schedule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonhester/node-schedule/merges","archive_url":"https://api.github.com/repos/jonhester/node-schedule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonhester/node-schedule/downloads","issues_url":"https://api.github.com/repos/jonhester/node-schedule/issues{/number}","pulls_url":"https://api.github.com/repos/jonhester/node-schedule/pulls{/number}","milestones_url":"https://api.github.com/repos/jonhester/node-schedule/milestones{/number}","notifications_url":"https://api.github.com/repos/jonhester/node-schedule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonhester/node-schedule/labels{/name}","releases_url":"https://api.github.com/repos/jonhester/node-schedule/releases{/id}","created_at":"2015-02-27T14:24:30Z","updated_at":"2015-03-17T01:34:37Z","pushed_at":"2015-03-17T03:43:56Z","git_url":"git://github.com/jonhester/node-schedule.git","ssh_url":"git@github.com:jonhester/node-schedule.git","clone_url":"https://github.com/jonhester/node-schedule.git","svn_url":"https://github.com/jonhester/node-schedule","homepage":"","size":287,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"node-schedule:master","ref":"master","sha":"8f869924c08350c9959c8756587499c3e0ba2776","user":{"login":"node-schedule","id":11254828,"avatar_url":"https://avatars.githubusercontent.com/u/11254828?v=3","gravatar_id":"","url":"https://api.github.com/users/node-schedule","html_url":"https://github.com/node-schedule","followers_url":"https://api.github.com/users/node-schedule/followers","following_url":"https://api.github.com/users/node-schedule/following{/other_user}","gists_url":"https://api.github.com/users/node-schedule/gists{/gist_id}","starred_url":"https://api.github.com/users/node-schedule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/node-schedule/subscriptions","organizations_url":"https://api.github.com/users/node-schedule/orgs","repos_url":"https://api.github.com/users/node-schedule/repos","events_url":"https://api.github.com/users/node-schedule/events{/privacy}","received_events_url":"https://api.github.com/users/node-schedule/received_events","type":"Organization","site_admin":false},"repo":{"id":1735515,"name":"node-schedule","full_name":"node-schedule/node-schedule","owner":{"login":"node-schedule","id":11254828,"avatar_url":"https://avatars.githubusercontent.com/u/11254828?v=3","gravatar_id":"","url":"https://api.github.com/users/node-schedule","html_url":"https://github.com/node-schedule","followers_url":"https://api.github.com/users/node-schedule/followers","following_url":"https://api.github.com/users/node-schedule/following{/other_user}","gists_url":"https://api.github.com/users/node-schedule/gists{/gist_id}","starred_url":"https://api.github.com/users/node-schedule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/node-schedule/subscriptions","organizations_url":"https://api.github.com/users/node-schedule/orgs","repos_url":"https://api.github.com/users/node-schedule/repos","events_url":"https://api.github.com/users/node-schedule/events{/privacy}","received_events_url":"https://api.github.com/users/node-schedule/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/node-schedule/node-schedule","description":"A cron-like and not-cron-like job scheduler for Node.","fork":false,"url":"https://api.github.com/repos/node-schedule/node-schedule","forks_url":"https://api.github.com/repos/node-schedule/node-schedule/forks","keys_url":"https://api.github.com/repos/node-schedule/node-schedule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/node-schedule/node-schedule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/node-schedule/node-schedule/teams","hooks_url":"https://api.github.com/repos/node-schedule/node-schedule/hooks","issue_events_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/events{/number}","events_url":"https://api.github.com/repos/node-schedule/node-schedule/events","assignees_url":"https://api.github.com/repos/node-schedule/node-schedule/assignees{/user}","branches_url":"https://api.github.com/repos/node-schedule/node-schedule/branches{/branch}","tags_url":"https://api.github.com/repos/node-schedule/node-schedule/tags","blobs_url":"https://api.github.com/repos/node-schedule/node-schedule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/node-schedule/node-schedule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/node-schedule/node-schedule/git/refs{/sha}","trees_url":"https://api.github.com/repos/node-schedule/node-schedule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/node-schedule/node-schedule/statuses/{sha}","languages_url":"https://api.github.com/repos/node-schedule/node-schedule/languages","stargazers_url":"https://api.github.com/repos/node-schedule/node-schedule/stargazers","contributors_url":"https://api.github.com/repos/node-schedule/node-schedule/contributors","subscribers_url":"https://api.github.com/repos/node-schedule/node-schedule/subscribers","subscription_url":"https://api.github.com/repos/node-schedule/node-schedule/subscription","commits_url":"https://api.github.com/repos/node-schedule/node-schedule/commits{/sha}","git_commits_url":"https://api.github.com/repos/node-schedule/node-schedule/git/commits{/sha}","comments_url":"https://api.github.com/repos/node-schedule/node-schedule/comments{/number}","issue_comment_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/comments{/number}","contents_url":"https://api.github.com/repos/node-schedule/node-schedule/contents/{+path}","compare_url":"https://api.github.com/repos/node-schedule/node-schedule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/node-schedule/node-schedule/merges","archive_url":"https://api.github.com/repos/node-schedule/node-schedule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/node-schedule/node-schedule/downloads","issues_url":"https://api.github.com/repos/node-schedule/node-schedule/issues{/number}","pulls_url":"https://api.github.com/repos/node-schedule/node-schedule/pulls{/number}","milestones_url":"https://api.github.com/repos/node-schedule/node-schedule/milestones{/number}","notifications_url":"https://api.github.com/repos/node-schedule/node-schedule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/node-schedule/node-schedule/labels{/name}","releases_url":"https://api.github.com/repos/node-schedule/node-schedule/releases{/id}","created_at":"2011-05-11T21:41:34Z","updated_at":"2015-03-17T00:29:56Z","pushed_at":"2015-03-17T00:18:41Z","git_url":"git://github.com/node-schedule/node-schedule.git","ssh_url":"git@github.com:node-schedule/node-schedule.git","clone_url":"https://github.com/node-schedule/node-schedule.git","svn_url":"https://github.com/node-schedule/node-schedule","homepage":"","size":1213,"stargazers_count":1121,"watchers_count":1121,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":7,"forks":83,"open_issues":7,"watchers":1121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/node-schedule/node-schedule/pulls/118"},"html":{"href":"https://github.com/node-schedule/node-schedule/pull/118"},"issue":{"href":"https://api.github.com/repos/node-schedule/node-schedule/issues/118"},"comments":{"href":"https://api.github.com/repos/node-schedule/node-schedule/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/node-schedule/node-schedule/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/node-schedule/node-schedule/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/node-schedule/node-schedule/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/node-schedule/node-schedule/statuses/5c2e0b1a286c73f368897b8a0c29ab914bf5efcc"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":79,"deletions":28,"changed_files":2}}