{"action":"created","comment":{"url":"https://api.github.com/repos/arturbosch/detekt/pulls/comments/180699061","pull_request_review_id":111162193,"id":180699061,"diff_hunk":"@@ -96,6 +96,56 @@ class MaxLineLengthSpec : Spek({\n \t\t\tassertThat(rule.findings).isEmpty()\n \t\t}\n \t}\n+\tgiven(\"a kt file with a long package name, long import statements, a long line and long comments\") {\n+\t\tval code = \"\"\"\n+\t\t\tpackage anIncrediblyLongAndComplexPackageNameThatProbablyShouldBeMuchShorterButForTheSakeOfTheTestItsNot\n+\n+\t\t\timport anIncrediblyLongAndComplexImportNameThatProbablyShouldBeMuchShorterButForTheSakeOfTheTestItsNot\n+\n+\t\t\tclass Test {","path":"detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/MaxLineLengthSpec.kt","position":28,"original_position":28,"commit_id":"efc0a8a84402a89741a2e8ab837ef5cb4ade1247","original_commit_id":"efc0a8a84402a89741a2e8ab837ef5cb4ade1247","user":{"login":"rvoortman","id":7511066,"avatar_url":"https://avatars0.githubusercontent.com/u/7511066?v=4","gravatar_id":"","url":"https://api.github.com/users/rvoortman","html_url":"https://github.com/rvoortman","followers_url":"https://api.github.com/users/rvoortman/followers","following_url":"https://api.github.com/users/rvoortman/following{/other_user}","gists_url":"https://api.github.com/users/rvoortman/gists{/gist_id}","starred_url":"https://api.github.com/users/rvoortman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvoortman/subscriptions","organizations_url":"https://api.github.com/users/rvoortman/orgs","repos_url":"https://api.github.com/users/rvoortman/repos","events_url":"https://api.github.com/users/rvoortman/events{/privacy}","received_events_url":"https://api.github.com/users/rvoortman/received_events","type":"User","site_admin":false},"body":"I don't think that is needed, but I will update the code in a second and we can check if we really want that. ","created_at":"2018-04-11T09:59:27Z","updated_at":"2018-04-11T09:59:28Z","html_url":"https://github.com/arturbosch/detekt/pull/849#discussion_r180699061","pull_request_url":"https://api.github.com/repos/arturbosch/detekt/pulls/849","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/arturbosch/detekt/pulls/comments/180699061"},"html":{"href":"https://github.com/arturbosch/detekt/pull/849#discussion_r180699061"},"pull_request":{"href":"https://api.github.com/repos/arturbosch/detekt/pulls/849"}},"in_reply_to_id":180447723},"pull_request":{"url":"https://api.github.com/repos/arturbosch/detekt/pulls/849","id":180512714,"html_url":"https://github.com/arturbosch/detekt/pull/849","diff_url":"https://github.com/arturbosch/detekt/pull/849.diff","patch_url":"https://github.com/arturbosch/detekt/pull/849.patch","issue_url":"https://api.github.com/repos/arturbosch/detekt/issues/849","number":849,"state":"open","locked":false,"title":"Added option to exclude comments from MaxLineLength","user":{"login":"rvoortman","id":7511066,"avatar_url":"https://avatars0.githubusercontent.com/u/7511066?v=4","gravatar_id":"","url":"https://api.github.com/users/rvoortman","html_url":"https://github.com/rvoortman","followers_url":"https://api.github.com/users/rvoortman/followers","following_url":"https://api.github.com/users/rvoortman/following{/other_user}","gists_url":"https://api.github.com/users/rvoortman/gists{/gist_id}","starred_url":"https://api.github.com/users/rvoortman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvoortman/subscriptions","organizations_url":"https://api.github.com/users/rvoortman/orgs","repos_url":"https://api.github.com/users/rvoortman/repos","events_url":"https://api.github.com/users/rvoortman/events{/privacy}","received_events_url":"https://api.github.com/users/rvoortman/received_events","type":"User","site_admin":false},"body":"This will add an option to exclude comments from the MaxLineLength rule.\r\n\r\nFixes 718\r\n","created_at":"2018-04-10T07:31:54Z","updated_at":"2018-04-11T09:59:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbd19c6b2defd3c62ce2e409cef7ef31982d4974","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/arturbosch/detekt/pulls/849/commits","review_comments_url":"https://api.github.com/repos/arturbosch/detekt/pulls/849/comments","review_comment_url":"https://api.github.com/repos/arturbosch/detekt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arturbosch/detekt/issues/849/comments","statuses_url":"https://api.github.com/repos/arturbosch/detekt/statuses/efc0a8a84402a89741a2e8ab837ef5cb4ade1247","head":{"label":"rvoortman:718-exclude-comments","ref":"718-exclude-comments","sha":"efc0a8a84402a89741a2e8ab837ef5cb4ade1247","user":{"login":"rvoortman","id":7511066,"avatar_url":"https://avatars0.githubusercontent.com/u/7511066?v=4","gravatar_id":"","url":"https://api.github.com/users/rvoortman","html_url":"https://github.com/rvoortman","followers_url":"https://api.github.com/users/rvoortman/followers","following_url":"https://api.github.com/users/rvoortman/following{/other_user}","gists_url":"https://api.github.com/users/rvoortman/gists{/gist_id}","starred_url":"https://api.github.com/users/rvoortman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvoortman/subscriptions","organizations_url":"https://api.github.com/users/rvoortman/orgs","repos_url":"https://api.github.com/users/rvoortman/repos","events_url":"https://api.github.com/users/rvoortman/events{/privacy}","received_events_url":"https://api.github.com/users/rvoortman/received_events","type":"User","site_admin":false},"repo":{"id":128892132,"name":"detekt","full_name":"rvoortman/detekt","owner":{"login":"rvoortman","id":7511066,"avatar_url":"https://avatars0.githubusercontent.com/u/7511066?v=4","gravatar_id":"","url":"https://api.github.com/users/rvoortman","html_url":"https://github.com/rvoortman","followers_url":"https://api.github.com/users/rvoortman/followers","following_url":"https://api.github.com/users/rvoortman/following{/other_user}","gists_url":"https://api.github.com/users/rvoortman/gists{/gist_id}","starred_url":"https://api.github.com/users/rvoortman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvoortman/subscriptions","organizations_url":"https://api.github.com/users/rvoortman/orgs","repos_url":"https://api.github.com/users/rvoortman/repos","events_url":"https://api.github.com/users/rvoortman/events{/privacy}","received_events_url":"https://api.github.com/users/rvoortman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rvoortman/detekt","description":"Static code analysis for Kotlin","fork":true,"url":"https://api.github.com/repos/rvoortman/detekt","forks_url":"https://api.github.com/repos/rvoortman/detekt/forks","keys_url":"https://api.github.com/repos/rvoortman/detekt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rvoortman/detekt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rvoortman/detekt/teams","hooks_url":"https://api.github.com/repos/rvoortman/detekt/hooks","issue_events_url":"https://api.github.com/repos/rvoortman/detekt/issues/events{/number}","events_url":"https://api.github.com/repos/rvoortman/detekt/events","assignees_url":"https://api.github.com/repos/rvoortman/detekt/assignees{/user}","branches_url":"https://api.github.com/repos/rvoortman/detekt/branches{/branch}","tags_url":"https://api.github.com/repos/rvoortman/detekt/tags","blobs_url":"https://api.github.com/repos/rvoortman/detekt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rvoortman/detekt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rvoortman/detekt/git/refs{/sha}","trees_url":"https://api.github.com/repos/rvoortman/detekt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rvoortman/detekt/statuses/{sha}","languages_url":"https://api.github.com/repos/rvoortman/detekt/languages","stargazers_url":"https://api.github.com/repos/rvoortman/detekt/stargazers","contributors_url":"https://api.github.com/repos/rvoortman/detekt/contributors","subscribers_url":"https://api.github.com/repos/rvoortman/detekt/subscribers","subscription_url":"https://api.github.com/repos/rvoortman/detekt/subscription","commits_url":"https://api.github.com/repos/rvoortman/detekt/commits{/sha}","git_commits_url":"https://api.github.com/repos/rvoortman/detekt/git/commits{/sha}","comments_url":"https://api.github.com/repos/rvoortman/detekt/comments{/number}","issue_comment_url":"https://api.github.com/repos/rvoortman/detekt/issues/comments{/number}","contents_url":"https://api.github.com/repos/rvoortman/detekt/contents/{+path}","compare_url":"https://api.github.com/repos/rvoortman/detekt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rvoortman/detekt/merges","archive_url":"https://api.github.com/repos/rvoortman/detekt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rvoortman/detekt/downloads","issues_url":"https://api.github.com/repos/rvoortman/detekt/issues{/number}","pulls_url":"https://api.github.com/repos/rvoortman/detekt/pulls{/number}","milestones_url":"https://api.github.com/repos/rvoortman/detekt/milestones{/number}","notifications_url":"https://api.github.com/repos/rvoortman/detekt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rvoortman/detekt/labels{/name}","releases_url":"https://api.github.com/repos/rvoortman/detekt/releases{/id}","deployments_url":"https://api.github.com/repos/rvoortman/detekt/deployments","created_at":"2018-04-10T07:29:32Z","updated_at":"2018-04-10T07:29:34Z","pushed_at":"2018-04-10T09:24:33Z","git_url":"git://github.com/rvoortman/detekt.git","ssh_url":"git@github.com:rvoortman/detekt.git","clone_url":"https://github.com/rvoortman/detekt.git","svn_url":"https://github.com/rvoortman/detekt","homepage":"","size":6675,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"arturbosch:master","ref":"master","sha":"ff3a7f4c6d7a803420029e49f3c2fcba4195833e","user":{"login":"arturbosch","id":20924106,"avatar_url":"https://avatars1.githubusercontent.com/u/20924106?v=4","gravatar_id":"","url":"https://api.github.com/users/arturbosch","html_url":"https://github.com/arturbosch","followers_url":"https://api.github.com/users/arturbosch/followers","following_url":"https://api.github.com/users/arturbosch/following{/other_user}","gists_url":"https://api.github.com/users/arturbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/arturbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturbosch/subscriptions","organizations_url":"https://api.github.com/users/arturbosch/orgs","repos_url":"https://api.github.com/users/arturbosch/repos","events_url":"https://api.github.com/users/arturbosch/events{/privacy}","received_events_url":"https://api.github.com/users/arturbosch/received_events","type":"User","site_admin":false},"repo":{"id":71729669,"name":"detekt","full_name":"arturbosch/detekt","owner":{"login":"arturbosch","id":20924106,"avatar_url":"https://avatars1.githubusercontent.com/u/20924106?v=4","gravatar_id":"","url":"https://api.github.com/users/arturbosch","html_url":"https://github.com/arturbosch","followers_url":"https://api.github.com/users/arturbosch/followers","following_url":"https://api.github.com/users/arturbosch/following{/other_user}","gists_url":"https://api.github.com/users/arturbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/arturbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturbosch/subscriptions","organizations_url":"https://api.github.com/users/arturbosch/orgs","repos_url":"https://api.github.com/users/arturbosch/repos","events_url":"https://api.github.com/users/arturbosch/events{/privacy}","received_events_url":"https://api.github.com/users/arturbosch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arturbosch/detekt","description":"Static code analysis for Kotlin","fork":false,"url":"https://api.github.com/repos/arturbosch/detekt","forks_url":"https://api.github.com/repos/arturbosch/detekt/forks","keys_url":"https://api.github.com/repos/arturbosch/detekt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arturbosch/detekt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arturbosch/detekt/teams","hooks_url":"https://api.github.com/repos/arturbosch/detekt/hooks","issue_events_url":"https://api.github.com/repos/arturbosch/detekt/issues/events{/number}","events_url":"https://api.github.com/repos/arturbosch/detekt/events","assignees_url":"https://api.github.com/repos/arturbosch/detekt/assignees{/user}","branches_url":"https://api.github.com/repos/arturbosch/detekt/branches{/branch}","tags_url":"https://api.github.com/repos/arturbosch/detekt/tags","blobs_url":"https://api.github.com/repos/arturbosch/detekt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arturbosch/detekt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arturbosch/detekt/git/refs{/sha}","trees_url":"https://api.github.com/repos/arturbosch/detekt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arturbosch/detekt/statuses/{sha}","languages_url":"https://api.github.com/repos/arturbosch/detekt/languages","stargazers_url":"https://api.github.com/repos/arturbosch/detekt/stargazers","contributors_url":"https://api.github.com/repos/arturbosch/detekt/contributors","subscribers_url":"https://api.github.com/repos/arturbosch/detekt/subscribers","subscription_url":"https://api.github.com/repos/arturbosch/detekt/subscription","commits_url":"https://api.github.com/repos/arturbosch/detekt/commits{/sha}","git_commits_url":"https://api.github.com/repos/arturbosch/detekt/git/commits{/sha}","comments_url":"https://api.github.com/repos/arturbosch/detekt/comments{/number}","issue_comment_url":"https://api.github.com/repos/arturbosch/detekt/issues/comments{/number}","contents_url":"https://api.github.com/repos/arturbosch/detekt/contents/{+path}","compare_url":"https://api.github.com/repos/arturbosch/detekt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arturbosch/detekt/merges","archive_url":"https://api.github.com/repos/arturbosch/detekt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arturbosch/detekt/downloads","issues_url":"https://api.github.com/repos/arturbosch/detekt/issues{/number}","pulls_url":"https://api.github.com/repos/arturbosch/detekt/pulls{/number}","milestones_url":"https://api.github.com/repos/arturbosch/detekt/milestones{/number}","notifications_url":"https://api.github.com/repos/arturbosch/detekt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arturbosch/detekt/labels{/name}","releases_url":"https://api.github.com/repos/arturbosch/detekt/releases{/id}","deployments_url":"https://api.github.com/repos/arturbosch/detekt/deployments","created_at":"2016-10-23T21:04:45Z","updated_at":"2018-04-11T04:48:05Z","pushed_at":"2018-04-11T09:57:35Z","git_url":"git://github.com/arturbosch/detekt.git","ssh_url":"git@github.com:arturbosch/detekt.git","clone_url":"https://github.com/arturbosch/detekt.git","svn_url":"https://github.com/arturbosch/detekt","homepage":"","size":6659,"stargazers_count":1030,"watchers_count":1030,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":92,"mirror_url":null,"archived":false,"open_issues_count":76,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":92,"open_issues":76,"watchers":1030,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arturbosch/detekt/pulls/849"},"html":{"href":"https://github.com/arturbosch/detekt/pull/849"},"issue":{"href":"https://api.github.com/repos/arturbosch/detekt/issues/849"},"comments":{"href":"https://api.github.com/repos/arturbosch/detekt/issues/849/comments"},"review_comments":{"href":"https://api.github.com/repos/arturbosch/detekt/pulls/849/comments"},"review_comment":{"href":"https://api.github.com/repos/arturbosch/detekt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arturbosch/detekt/pulls/849/commits"},"statuses":{"href":"https://api.github.com/repos/arturbosch/detekt/statuses/efc0a8a84402a89741a2e8ab837ef5cb4ade1247"}},"author_association":"NONE"}}
{"actor":{"display_login":"rvoortman"}}