{"action":"created","comment":{"url":"https://api.github.com/repos/linterhub/usage-parser/pulls/comments/209595878","pull_request_review_id":145637011,"id":209595878,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTU5NTg3OA==","diff_hunk":"@@ -15,14 +15,28 @@ const getArgumentObject = (object, context) => {\n         shortName: getPropertyName(object.arg, context.regexp.argument.short),\n         defaultValue: getDefaultValue(\n             object.description, context.regexp.defaultValue),\n-        description: object.description.trim(),\n+        description: unifyDescription(object.description),\n     };\n     argument.isFlag = isDefaultBollean(argument.defaultValue)\n         && !isPropertyTyped(object.arg);\n \n     return argument;\n };\n \n+/**\n+ * Unify description to one standard\n+ * @param {string} description - argument description\n+ * @return {string} description - unified description\n+ */\n+const unifyDescription = (description) => {\n+    description = description.trim();\n+    description = description.charAt(0).toUpperCase() + description.slice(1);\n+    if (description.charAt(description.length - 1) === '.') {","path":"src/arguments.js","position":null,"original_position":21,"commit_id":"6297bd2724c20c4e89dfea016a3e9b1f7e5df1d2","original_commit_id":"a1f950a9e4d66d7bbfa0cf213ed49cf4ffd9883e","user":{"login":"Arcle1","id":39379625,"node_id":"MDQ6VXNlcjM5Mzc5NjI1","avatar_url":"https://avatars1.githubusercontent.com/u/39379625?v=4","gravatar_id":"","url":"https://api.github.com/users/Arcle1","html_url":"https://github.com/Arcle1","followers_url":"https://api.github.com/users/Arcle1/followers","following_url":"https://api.github.com/users/Arcle1/following{/other_user}","gists_url":"https://api.github.com/users/Arcle1/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcle1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcle1/subscriptions","organizations_url":"https://api.github.com/users/Arcle1/orgs","repos_url":"https://api.github.com/users/Arcle1/repos","events_url":"https://api.github.com/users/Arcle1/events{/privacy}","received_events_url":"https://api.github.com/users/Arcle1/received_events","type":"User","site_admin":false},"body":"@svoboda-rabstvo done.","created_at":"2018-08-13T12:51:07Z","updated_at":"2018-08-13T12:51:07Z","html_url":"https://github.com/linterhub/usage-parser/pull/137#discussion_r209595878","pull_request_url":"https://api.github.com/repos/linterhub/usage-parser/pulls/137","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/linterhub/usage-parser/pulls/comments/209595878"},"html":{"href":"https://github.com/linterhub/usage-parser/pull/137#discussion_r209595878"},"pull_request":{"href":"https://api.github.com/repos/linterhub/usage-parser/pulls/137"}},"in_reply_to_id":209586493},"pull_request":{"url":"https://api.github.com/repos/linterhub/usage-parser/pulls/137","id":207953870,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3OTUzODcw","html_url":"https://github.com/linterhub/usage-parser/pull/137","diff_url":"https://github.com/linterhub/usage-parser/pull/137.diff","patch_url":"https://github.com/linterhub/usage-parser/pull/137.patch","issue_url":"https://api.github.com/repos/linterhub/usage-parser/issues/137","number":137,"state":"open","locked":false,"title":"feat: unify description to one standard","user":{"login":"Arcle1","id":39379625,"node_id":"MDQ6VXNlcjM5Mzc5NjI1","avatar_url":"https://avatars1.githubusercontent.com/u/39379625?v=4","gravatar_id":"","url":"https://api.github.com/users/Arcle1","html_url":"https://github.com/Arcle1","followers_url":"https://api.github.com/users/Arcle1/followers","following_url":"https://api.github.com/users/Arcle1/following{/other_user}","gists_url":"https://api.github.com/users/Arcle1/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcle1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcle1/subscriptions","organizations_url":"https://api.github.com/users/Arcle1/orgs","repos_url":"https://api.github.com/users/Arcle1/repos","events_url":"https://api.github.com/users/Arcle1/events{/privacy}","received_events_url":"https://api.github.com/users/Arcle1/received_events","type":"User","site_admin":false},"body":"Unify description to one standard\r\n\r\nCloses #134","created_at":"2018-08-13T11:56:52Z","updated_at":"2018-08-13T12:51:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92c418654c9842c9a57cf526b4c65c241bea8010","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/linterhub/usage-parser/pulls/137/commits","review_comments_url":"https://api.github.com/repos/linterhub/usage-parser/pulls/137/comments","review_comment_url":"https://api.github.com/repos/linterhub/usage-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linterhub/usage-parser/issues/137/comments","statuses_url":"https://api.github.com/repos/linterhub/usage-parser/statuses/6297bd2724c20c4e89dfea016a3e9b1f7e5df1d2","head":{"label":"Arcle1:feat/description","ref":"feat/description","sha":"6297bd2724c20c4e89dfea016a3e9b1f7e5df1d2","user":{"login":"Arcle1","id":39379625,"node_id":"MDQ6VXNlcjM5Mzc5NjI1","avatar_url":"https://avatars1.githubusercontent.com/u/39379625?v=4","gravatar_id":"","url":"https://api.github.com/users/Arcle1","html_url":"https://github.com/Arcle1","followers_url":"https://api.github.com/users/Arcle1/followers","following_url":"https://api.github.com/users/Arcle1/following{/other_user}","gists_url":"https://api.github.com/users/Arcle1/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcle1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcle1/subscriptions","organizations_url":"https://api.github.com/users/Arcle1/orgs","repos_url":"https://api.github.com/users/Arcle1/repos","events_url":"https://api.github.com/users/Arcle1/events{/privacy}","received_events_url":"https://api.github.com/users/Arcle1/received_events","type":"User","site_admin":false},"repo":{"id":138775579,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3NzU1Nzk=","name":"usage-parser","full_name":"Arcle1/usage-parser","owner":{"login":"Arcle1","id":39379625,"node_id":"MDQ6VXNlcjM5Mzc5NjI1","avatar_url":"https://avatars1.githubusercontent.com/u/39379625?v=4","gravatar_id":"","url":"https://api.github.com/users/Arcle1","html_url":"https://github.com/Arcle1","followers_url":"https://api.github.com/users/Arcle1/followers","following_url":"https://api.github.com/users/Arcle1/following{/other_user}","gists_url":"https://api.github.com/users/Arcle1/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcle1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcle1/subscriptions","organizations_url":"https://api.github.com/users/Arcle1/orgs","repos_url":"https://api.github.com/users/Arcle1/repos","events_url":"https://api.github.com/users/Arcle1/events{/privacy}","received_events_url":"https://api.github.com/users/Arcle1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Arcle1/usage-parser","description":null,"fork":true,"url":"https://api.github.com/repos/Arcle1/usage-parser","forks_url":"https://api.github.com/repos/Arcle1/usage-parser/forks","keys_url":"https://api.github.com/repos/Arcle1/usage-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Arcle1/usage-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Arcle1/usage-parser/teams","hooks_url":"https://api.github.com/repos/Arcle1/usage-parser/hooks","issue_events_url":"https://api.github.com/repos/Arcle1/usage-parser/issues/events{/number}","events_url":"https://api.github.com/repos/Arcle1/usage-parser/events","assignees_url":"https://api.github.com/repos/Arcle1/usage-parser/assignees{/user}","branches_url":"https://api.github.com/repos/Arcle1/usage-parser/branches{/branch}","tags_url":"https://api.github.com/repos/Arcle1/usage-parser/tags","blobs_url":"https://api.github.com/repos/Arcle1/usage-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Arcle1/usage-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Arcle1/usage-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/Arcle1/usage-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Arcle1/usage-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/Arcle1/usage-parser/languages","stargazers_url":"https://api.github.com/repos/Arcle1/usage-parser/stargazers","contributors_url":"https://api.github.com/repos/Arcle1/usage-parser/contributors","subscribers_url":"https://api.github.com/repos/Arcle1/usage-parser/subscribers","subscription_url":"https://api.github.com/repos/Arcle1/usage-parser/subscription","commits_url":"https://api.github.com/repos/Arcle1/usage-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/Arcle1/usage-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/Arcle1/usage-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/Arcle1/usage-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/Arcle1/usage-parser/contents/{+path}","compare_url":"https://api.github.com/repos/Arcle1/usage-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Arcle1/usage-parser/merges","archive_url":"https://api.github.com/repos/Arcle1/usage-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Arcle1/usage-parser/downloads","issues_url":"https://api.github.com/repos/Arcle1/usage-parser/issues{/number}","pulls_url":"https://api.github.com/repos/Arcle1/usage-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/Arcle1/usage-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/Arcle1/usage-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Arcle1/usage-parser/labels{/name}","releases_url":"https://api.github.com/repos/Arcle1/usage-parser/releases{/id}","deployments_url":"https://api.github.com/repos/Arcle1/usage-parser/deployments","created_at":"2018-06-26T18:08:32Z","updated_at":"2018-08-03T12:06:16Z","pushed_at":"2018-08-13T12:48:38Z","git_url":"git://github.com/Arcle1/usage-parser.git","ssh_url":"git@github.com:Arcle1/usage-parser.git","clone_url":"https://github.com/Arcle1/usage-parser.git","svn_url":"https://github.com/Arcle1/usage-parser","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"linterhub:develop","ref":"develop","sha":"ef17335a93bad75107fb542594e50b3373ab5bec","user":{"login":"linterhub","id":39357698,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzU3Njk4","avatar_url":"https://avatars3.githubusercontent.com/u/39357698?v=4","gravatar_id":"","url":"https://api.github.com/users/linterhub","html_url":"https://github.com/linterhub","followers_url":"https://api.github.com/users/linterhub/followers","following_url":"https://api.github.com/users/linterhub/following{/other_user}","gists_url":"https://api.github.com/users/linterhub/gists{/gist_id}","starred_url":"https://api.github.com/users/linterhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linterhub/subscriptions","organizations_url":"https://api.github.com/users/linterhub/orgs","repos_url":"https://api.github.com/users/linterhub/repos","events_url":"https://api.github.com/users/linterhub/events{/privacy}","received_events_url":"https://api.github.com/users/linterhub/received_events","type":"Organization","site_admin":false},"repo":{"id":138768161,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3NjgxNjE=","name":"usage-parser","full_name":"linterhub/usage-parser","owner":{"login":"linterhub","id":39357698,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzU3Njk4","avatar_url":"https://avatars3.githubusercontent.com/u/39357698?v=4","gravatar_id":"","url":"https://api.github.com/users/linterhub","html_url":"https://github.com/linterhub","followers_url":"https://api.github.com/users/linterhub/followers","following_url":"https://api.github.com/users/linterhub/following{/other_user}","gists_url":"https://api.github.com/users/linterhub/gists{/gist_id}","starred_url":"https://api.github.com/users/linterhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linterhub/subscriptions","organizations_url":"https://api.github.com/users/linterhub/orgs","repos_url":"https://api.github.com/users/linterhub/repos","events_url":"https://api.github.com/users/linterhub/events{/privacy}","received_events_url":"https://api.github.com/users/linterhub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linterhub/usage-parser","description":"Usage parser","fork":false,"url":"https://api.github.com/repos/linterhub/usage-parser","forks_url":"https://api.github.com/repos/linterhub/usage-parser/forks","keys_url":"https://api.github.com/repos/linterhub/usage-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linterhub/usage-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linterhub/usage-parser/teams","hooks_url":"https://api.github.com/repos/linterhub/usage-parser/hooks","issue_events_url":"https://api.github.com/repos/linterhub/usage-parser/issues/events{/number}","events_url":"https://api.github.com/repos/linterhub/usage-parser/events","assignees_url":"https://api.github.com/repos/linterhub/usage-parser/assignees{/user}","branches_url":"https://api.github.com/repos/linterhub/usage-parser/branches{/branch}","tags_url":"https://api.github.com/repos/linterhub/usage-parser/tags","blobs_url":"https://api.github.com/repos/linterhub/usage-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linterhub/usage-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linterhub/usage-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/linterhub/usage-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linterhub/usage-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/linterhub/usage-parser/languages","stargazers_url":"https://api.github.com/repos/linterhub/usage-parser/stargazers","contributors_url":"https://api.github.com/repos/linterhub/usage-parser/contributors","subscribers_url":"https://api.github.com/repos/linterhub/usage-parser/subscribers","subscription_url":"https://api.github.com/repos/linterhub/usage-parser/subscription","commits_url":"https://api.github.com/repos/linterhub/usage-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/linterhub/usage-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/linterhub/usage-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/linterhub/usage-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/linterhub/usage-parser/contents/{+path}","compare_url":"https://api.github.com/repos/linterhub/usage-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linterhub/usage-parser/merges","archive_url":"https://api.github.com/repos/linterhub/usage-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linterhub/usage-parser/downloads","issues_url":"https://api.github.com/repos/linterhub/usage-parser/issues{/number}","pulls_url":"https://api.github.com/repos/linterhub/usage-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/linterhub/usage-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/linterhub/usage-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linterhub/usage-parser/labels{/name}","releases_url":"https://api.github.com/repos/linterhub/usage-parser/releases{/id}","deployments_url":"https://api.github.com/repos/linterhub/usage-parser/deployments","created_at":"2018-06-26T17:03:08Z","updated_at":"2018-08-09T12:48:37Z","pushed_at":"2018-08-13T12:48:40Z","git_url":"git://github.com/linterhub/usage-parser.git","ssh_url":"git@github.com:linterhub/usage-parser.git","clone_url":"https://github.com/linterhub/usage-parser.git","svn_url":"https://github.com/linterhub/usage-parser","homepage":"https://github.com/linterhub/usage-parser","size":95,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":21,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/linterhub/usage-parser/pulls/137"},"html":{"href":"https://github.com/linterhub/usage-parser/pull/137"},"issue":{"href":"https://api.github.com/repos/linterhub/usage-parser/issues/137"},"comments":{"href":"https://api.github.com/repos/linterhub/usage-parser/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/linterhub/usage-parser/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/linterhub/usage-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linterhub/usage-parser/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/linterhub/usage-parser/statuses/6297bd2724c20c4e89dfea016a3e9b1f7e5df1d2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Arcle1"}}