{"action":"created","comment":{"url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/comments/32452339","id":32452339,"diff_hunk":"@@ -0,0 +1,31 @@\n+module.exports = validateParamTagDescription;\n+module.exports.tags = ['param', 'arg', 'argument'];\n+module.exports.scopes = ['function'];\n+module.exports.options = {\n+    requireParamDescription: {allowedValues: [true]}\n+};\n+\n+/**\n+ * Validator for @param\n+ *\n+ * @param {(FunctionDeclaration|FunctionExpression)} node\n+ * @param {DocTag} tag\n+ * @param {Function} err\n+ */\n+function validateParamTagDescription(node, tag, err) {\n+    // checking existance\n+    if (!tag.description) {","path":"lib/rules/validate-jsdoc/require-param-description.js","position":17,"original_position":17,"commit_id":"19e1e6cff765ea9b259ce0954c7f35a75e036d63","original_commit_id":"19e1e6cff765ea9b259ce0954c7f35a75e036d63","user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"body":"I'd do here early return because we don't need to check \"nothing\" ;-)","created_at":"2015-06-15T18:42:05Z","updated_at":"2015-06-15T18:42:05Z","html_url":"https://github.com/jscs-dev/jscs-jsdoc/pull/111#discussion_r32452339","pull_request_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/comments/32452339"},"html":{"href":"https://github.com/jscs-dev/jscs-jsdoc/pull/111#discussion_r32452339"},"pull_request":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111","id":37636111,"html_url":"https://github.com/jscs-dev/jscs-jsdoc/pull/111","diff_url":"https://github.com/jscs-dev/jscs-jsdoc/pull/111.diff","patch_url":"https://github.com/jscs-dev/jscs-jsdoc/pull/111.patch","issue_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/issues/111","number":111,"state":"open","locked":false,"title":"New Rule: Require Param Description","user":{"login":"dtracers","id":1933836,"avatar_url":"https://avatars.githubusercontent.com/u/1933836?v=3","gravatar_id":"","url":"https://api.github.com/users/dtracers","html_url":"https://github.com/dtracers","followers_url":"https://api.github.com/users/dtracers/followers","following_url":"https://api.github.com/users/dtracers/following{/other_user}","gists_url":"https://api.github.com/users/dtracers/gists{/gist_id}","starred_url":"https://api.github.com/users/dtracers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtracers/subscriptions","organizations_url":"https://api.github.com/users/dtracers/orgs","repos_url":"https://api.github.com/users/dtracers/repos","events_url":"https://api.github.com/users/dtracers/events{/privacy}","received_events_url":"https://api.github.com/users/dtracers/received_events","type":"User","site_admin":false},"body":"New Rule that allows one to require a parameter description\r\n\r\nAddress #107 ","created_at":"2015-06-14T04:35:32Z","updated_at":"2015-06-15T18:42:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67f7b291c5b9c0bffc79ed74c962e28abcc49308","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111/commits","review_comments_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111/comments","review_comment_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/issues/111/comments","statuses_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/statuses/19e1e6cff765ea9b259ce0954c7f35a75e036d63","head":{"label":"dtracers:master","ref":"master","sha":"19e1e6cff765ea9b259ce0954c7f35a75e036d63","user":{"login":"dtracers","id":1933836,"avatar_url":"https://avatars.githubusercontent.com/u/1933836?v=3","gravatar_id":"","url":"https://api.github.com/users/dtracers","html_url":"https://github.com/dtracers","followers_url":"https://api.github.com/users/dtracers/followers","following_url":"https://api.github.com/users/dtracers/following{/other_user}","gists_url":"https://api.github.com/users/dtracers/gists{/gist_id}","starred_url":"https://api.github.com/users/dtracers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtracers/subscriptions","organizations_url":"https://api.github.com/users/dtracers/orgs","repos_url":"https://api.github.com/users/dtracers/repos","events_url":"https://api.github.com/users/dtracers/events{/privacy}","received_events_url":"https://api.github.com/users/dtracers/received_events","type":"User","site_admin":false},"repo":{"id":36576622,"name":"jscs-jsdoc","full_name":"dtracers/jscs-jsdoc","owner":{"login":"dtracers","id":1933836,"avatar_url":"https://avatars.githubusercontent.com/u/1933836?v=3","gravatar_id":"","url":"https://api.github.com/users/dtracers","html_url":"https://github.com/dtracers","followers_url":"https://api.github.com/users/dtracers/followers","following_url":"https://api.github.com/users/dtracers/following{/other_user}","gists_url":"https://api.github.com/users/dtracers/gists{/gist_id}","starred_url":"https://api.github.com/users/dtracers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtracers/subscriptions","organizations_url":"https://api.github.com/users/dtracers/orgs","repos_url":"https://api.github.com/users/dtracers/repos","events_url":"https://api.github.com/users/dtracers/events{/privacy}","received_events_url":"https://api.github.com/users/dtracers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtracers/jscs-jsdoc","description":"JsDoc validation rules for jscs","fork":true,"url":"https://api.github.com/repos/dtracers/jscs-jsdoc","forks_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/forks","keys_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/teams","hooks_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/hooks","issue_events_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/issues/events{/number}","events_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/events","assignees_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/assignees{/user}","branches_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/branches{/branch}","tags_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/tags","blobs_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/languages","stargazers_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/stargazers","contributors_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/contributors","subscribers_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/subscribers","subscription_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/subscription","commits_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/contents/{+path}","compare_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/merges","archive_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/downloads","issues_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/issues{/number}","pulls_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/labels{/name}","releases_url":"https://api.github.com/repos/dtracers/jscs-jsdoc/releases{/id}","created_at":"2015-05-30T21:39:21Z","updated_at":"2015-05-30T21:39:22Z","pushed_at":"2015-06-14T17:04:15Z","git_url":"git://github.com/dtracers/jscs-jsdoc.git","ssh_url":"git@github.com:dtracers/jscs-jsdoc.git","clone_url":"https://github.com/dtracers/jscs-jsdoc.git","svn_url":"https://github.com/dtracers/jscs-jsdoc","homepage":"","size":493,"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":"jscs-dev:master","ref":"master","sha":"abce52aea25c5a2034200f6fd29023e6743bc8be","user":{"login":"jscs-dev","id":8018201,"avatar_url":"https://avatars.githubusercontent.com/u/8018201?v=3","gravatar_id":"","url":"https://api.github.com/users/jscs-dev","html_url":"https://github.com/jscs-dev","followers_url":"https://api.github.com/users/jscs-dev/followers","following_url":"https://api.github.com/users/jscs-dev/following{/other_user}","gists_url":"https://api.github.com/users/jscs-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/jscs-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscs-dev/subscriptions","organizations_url":"https://api.github.com/users/jscs-dev/orgs","repos_url":"https://api.github.com/users/jscs-dev/repos","events_url":"https://api.github.com/users/jscs-dev/events{/privacy}","received_events_url":"https://api.github.com/users/jscs-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":18460320,"name":"jscs-jsdoc","full_name":"jscs-dev/jscs-jsdoc","owner":{"login":"jscs-dev","id":8018201,"avatar_url":"https://avatars.githubusercontent.com/u/8018201?v=3","gravatar_id":"","url":"https://api.github.com/users/jscs-dev","html_url":"https://github.com/jscs-dev","followers_url":"https://api.github.com/users/jscs-dev/followers","following_url":"https://api.github.com/users/jscs-dev/following{/other_user}","gists_url":"https://api.github.com/users/jscs-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/jscs-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscs-dev/subscriptions","organizations_url":"https://api.github.com/users/jscs-dev/orgs","repos_url":"https://api.github.com/users/jscs-dev/repos","events_url":"https://api.github.com/users/jscs-dev/events{/privacy}","received_events_url":"https://api.github.com/users/jscs-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jscs-dev/jscs-jsdoc","description":"JsDoc validation rules for jscs","fork":false,"url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc","forks_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/forks","keys_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/teams","hooks_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/hooks","issue_events_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/issues/events{/number}","events_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/events","assignees_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/assignees{/user}","branches_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/branches{/branch}","tags_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/tags","blobs_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/languages","stargazers_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/stargazers","contributors_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/contributors","subscribers_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/subscribers","subscription_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/subscription","commits_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/contents/{+path}","compare_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/merges","archive_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/downloads","issues_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/issues{/number}","pulls_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/labels{/name}","releases_url":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/releases{/id}","created_at":"2014-04-05T05:00:23Z","updated_at":"2015-06-05T02:19:46Z","pushed_at":"2015-06-14T17:04:16Z","git_url":"git://github.com/jscs-dev/jscs-jsdoc.git","ssh_url":"git@github.com:jscs-dev/jscs-jsdoc.git","clone_url":"https://github.com/jscs-dev/jscs-jsdoc.git","svn_url":"https://github.com/jscs-dev/jscs-jsdoc","homepage":"","size":1213,"stargazers_count":57,"watchers_count":57,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":19,"forks":13,"open_issues":19,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111"},"html":{"href":"https://github.com/jscs-dev/jscs-jsdoc/pull/111"},"issue":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/issues/111"},"comments":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/jscs-dev/jscs-jsdoc/statuses/19e1e6cff765ea9b259ce0954c7f35a75e036d63"}}}}