{"action":"created","comment":{"url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments/68724859","id":68724859,"diff_hunk":"@@ -22,11 +23,298 @@ class CoffeeLintBear:\n     CAN_DETECT = {'Syntax', 'Formatting', 'Smell'}\n \n     severity_map = {'warn': RESULT_SEVERITY.NORMAL,\n-                    'error': RESULT_SEVERITY.MAJOR}\n+                    'error': RESULT_SEVERITY.MAJOR,\n+                    'ignore': RESULT_SEVERITY.INFO}\n \n     @staticmethod\n     def create_arguments(filename, file, config_file):\n-        return '--reporter=raw', filename\n+        return '--reporter=raw', '-f', config_file, filename\n+\n+    @staticmethod\n+    def generate_config(filename, file,\n+                        max_line_length: int=80,\n+                        max_line_length_affects_comments: bool=True,\n+                        space_before_and_after_arrow: bool=False,\n+                        check_braces_spacing: bool=False,\n+                        braces_spacing_width: int=0,\n+                        spacing_in_empty_braces: int=0,\n+                        camelcase_classes_name: bool=True,\n+                        spaces_before_and_after_colon: bool=False,\n+                        spaces_before_colon: int=0,\n+                        spaces_after_colon: int=0,\n+                        check_whether_file_ends_in_newline: bool=False,\n+                        tab_width: int=SpacingHelper.DEFAULT_TAB_WIDTH,\n+                        no_tabs: bool=True,\n+                        newlines_after_classes: bool=False,\n+                        number_of_newlines_after_classes: int=3,\n+                        no_backticks: bool=True,\n+                        no_implicit_braces: bool=False,\n+                        no_implicit_parentheses: bool=False,\n+                        no_interpolation_in_single_quotes: bool=True,\n+                        no_stand_alone_at: bool=True,\n+                        disable_throwing_strings: bool=True,\n+                        no_trailing_semicolons: bool=True,\n+                        no_trailing_whitespaces: bool=True,\n+                        no_trailing_whitespaces_affects_comments: bool=True,\n+                        no_trailing_whitespaces_affects_empty_lines: bool=True,\n+                        no_unnecessary_double_quotes: bool=False,\n+                        use_english_operator: bool=False,\n+                        spaces_around_operators: bool=False,\n+                        space_after_comma: bool=True,\n+                        cyclomatic_complexity: bool=True,\n+                        cyclomatic_complexity_value: int=10,","path":"bears/coffee_script/CoffeeLintBear.py","position":53,"original_position":53,"commit_id":"5dc230ccb79ca0319c981a7ba6e125a26820b00e","original_commit_id":"5dc230ccb79ca0319c981a7ba6e125a26820b00e","user":{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false},"body":"instead of offering the complexity and the value I'd just offer the value and let the user deactivate it somehow.\r\n\r\nAlso we should use the same setting name and convention for this for all bears, maybe we should generate a settings matrix or so? What do you think?","created_at":"2016-06-28T09:25:44Z","updated_at":"2016-06-28T09:25:44Z","html_url":"https://github.com/coala-analyzer/coala-bears/pull/555#discussion_r68724859","pull_request_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555","_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments/68724859"},"html":{"href":"https://github.com/coala-analyzer/coala-bears/pull/555#discussion_r68724859"},"pull_request":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555"}}},"pull_request":{"url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555","id":75069608,"html_url":"https://github.com/coala-analyzer/coala-bears/pull/555","diff_url":"https://github.com/coala-analyzer/coala-bears/pull/555.diff","patch_url":"https://github.com/coala-analyzer/coala-bears/pull/555.patch","issue_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/555","number":555,"state":"open","locked":false,"title":"CoffeeLintBear: Make coffee_lint configurable","user":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"body":"Closes https://github.com/coala-analyzer/coala-bears/issues/516","created_at":"2016-06-24T06:25:06Z","updated_at":"2016-06-28T09:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2c62d8658760080d30d099574d9200fd7b9d4d4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555/commits","review_comments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555/comments","review_comment_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/555/comments","statuses_url":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/5dc230ccb79ca0319c981a7ba6e125a26820b00e","head":{"label":"Asnelchristian:GNUIndent","ref":"GNUIndent","sha":"5dc230ccb79ca0319c981a7ba6e125a26820b00e","user":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"repo":{"id":59282550,"name":"coala-bears","full_name":"Asnelchristian/coala-bears","owner":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Asnelchristian/coala-bears","description":"Bears for coala","fork":true,"url":"https://api.github.com/repos/Asnelchristian/coala-bears","forks_url":"https://api.github.com/repos/Asnelchristian/coala-bears/forks","keys_url":"https://api.github.com/repos/Asnelchristian/coala-bears/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Asnelchristian/coala-bears/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Asnelchristian/coala-bears/teams","hooks_url":"https://api.github.com/repos/Asnelchristian/coala-bears/hooks","issue_events_url":"https://api.github.com/repos/Asnelchristian/coala-bears/issues/events{/number}","events_url":"https://api.github.com/repos/Asnelchristian/coala-bears/events","assignees_url":"https://api.github.com/repos/Asnelchristian/coala-bears/assignees{/user}","branches_url":"https://api.github.com/repos/Asnelchristian/coala-bears/branches{/branch}","tags_url":"https://api.github.com/repos/Asnelchristian/coala-bears/tags","blobs_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/refs{/sha}","trees_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Asnelchristian/coala-bears/statuses/{sha}","languages_url":"https://api.github.com/repos/Asnelchristian/coala-bears/languages","stargazers_url":"https://api.github.com/repos/Asnelchristian/coala-bears/stargazers","contributors_url":"https://api.github.com/repos/Asnelchristian/coala-bears/contributors","subscribers_url":"https://api.github.com/repos/Asnelchristian/coala-bears/subscribers","subscription_url":"https://api.github.com/repos/Asnelchristian/coala-bears/subscription","commits_url":"https://api.github.com/repos/Asnelchristian/coala-bears/commits{/sha}","git_commits_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/commits{/sha}","comments_url":"https://api.github.com/repos/Asnelchristian/coala-bears/comments{/number}","issue_comment_url":"https://api.github.com/repos/Asnelchristian/coala-bears/issues/comments{/number}","contents_url":"https://api.github.com/repos/Asnelchristian/coala-bears/contents/{+path}","compare_url":"https://api.github.com/repos/Asnelchristian/coala-bears/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Asnelchristian/coala-bears/merges","archive_url":"https://api.github.com/repos/Asnelchristian/coala-bears/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Asnelchristian/coala-bears/downloads","issues_url":"https://api.github.com/repos/Asnelchristian/coala-bears/issues{/number}","pulls_url":"https://api.github.com/repos/Asnelchristian/coala-bears/pulls{/number}","milestones_url":"https://api.github.com/repos/Asnelchristian/coala-bears/milestones{/number}","notifications_url":"https://api.github.com/repos/Asnelchristian/coala-bears/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Asnelchristian/coala-bears/labels{/name}","releases_url":"https://api.github.com/repos/Asnelchristian/coala-bears/releases{/id}","deployments_url":"https://api.github.com/repos/Asnelchristian/coala-bears/deployments","created_at":"2016-05-20T09:33:44Z","updated_at":"2016-05-20T09:33:45Z","pushed_at":"2016-06-28T09:02:33Z","git_url":"git://github.com/Asnelchristian/coala-bears.git","ssh_url":"git@github.com:Asnelchristian/coala-bears.git","clone_url":"https://github.com/Asnelchristian/coala-bears.git","svn_url":"https://github.com/Asnelchristian/coala-bears","homepage":"http://coala-analyzer.org/","size":664,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"coala-analyzer:master","ref":"master","sha":"569451d6f0275370031095042badb80afbd40976","user":{"login":"coala-analyzer","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala-analyzer","html_url":"https://github.com/coala-analyzer","followers_url":"https://api.github.com/users/coala-analyzer/followers","following_url":"https://api.github.com/users/coala-analyzer/following{/other_user}","gists_url":"https://api.github.com/users/coala-analyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/coala-analyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala-analyzer/subscriptions","organizations_url":"https://api.github.com/users/coala-analyzer/orgs","repos_url":"https://api.github.com/users/coala-analyzer/repos","events_url":"https://api.github.com/users/coala-analyzer/events{/privacy}","received_events_url":"https://api.github.com/users/coala-analyzer/received_events","type":"Organization","site_admin":false},"repo":{"id":51688289,"name":"coala-bears","full_name":"coala-analyzer/coala-bears","owner":{"login":"coala-analyzer","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala-analyzer","html_url":"https://github.com/coala-analyzer","followers_url":"https://api.github.com/users/coala-analyzer/followers","following_url":"https://api.github.com/users/coala-analyzer/following{/other_user}","gists_url":"https://api.github.com/users/coala-analyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/coala-analyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala-analyzer/subscriptions","organizations_url":"https://api.github.com/users/coala-analyzer/orgs","repos_url":"https://api.github.com/users/coala-analyzer/repos","events_url":"https://api.github.com/users/coala-analyzer/events{/privacy}","received_events_url":"https://api.github.com/users/coala-analyzer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coala-analyzer/coala-bears","description":"Bears for coala","fork":false,"url":"https://api.github.com/repos/coala-analyzer/coala-bears","forks_url":"https://api.github.com/repos/coala-analyzer/coala-bears/forks","keys_url":"https://api.github.com/repos/coala-analyzer/coala-bears/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coala-analyzer/coala-bears/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coala-analyzer/coala-bears/teams","hooks_url":"https://api.github.com/repos/coala-analyzer/coala-bears/hooks","issue_events_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/events{/number}","events_url":"https://api.github.com/repos/coala-analyzer/coala-bears/events","assignees_url":"https://api.github.com/repos/coala-analyzer/coala-bears/assignees{/user}","branches_url":"https://api.github.com/repos/coala-analyzer/coala-bears/branches{/branch}","tags_url":"https://api.github.com/repos/coala-analyzer/coala-bears/tags","blobs_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/refs{/sha}","trees_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/{sha}","languages_url":"https://api.github.com/repos/coala-analyzer/coala-bears/languages","stargazers_url":"https://api.github.com/repos/coala-analyzer/coala-bears/stargazers","contributors_url":"https://api.github.com/repos/coala-analyzer/coala-bears/contributors","subscribers_url":"https://api.github.com/repos/coala-analyzer/coala-bears/subscribers","subscription_url":"https://api.github.com/repos/coala-analyzer/coala-bears/subscription","commits_url":"https://api.github.com/repos/coala-analyzer/coala-bears/commits{/sha}","git_commits_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/commits{/sha}","comments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/comments{/number}","issue_comment_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/comments{/number}","contents_url":"https://api.github.com/repos/coala-analyzer/coala-bears/contents/{+path}","compare_url":"https://api.github.com/repos/coala-analyzer/coala-bears/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coala-analyzer/coala-bears/merges","archive_url":"https://api.github.com/repos/coala-analyzer/coala-bears/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coala-analyzer/coala-bears/downloads","issues_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues{/number}","pulls_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls{/number}","milestones_url":"https://api.github.com/repos/coala-analyzer/coala-bears/milestones{/number}","notifications_url":"https://api.github.com/repos/coala-analyzer/coala-bears/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coala-analyzer/coala-bears/labels{/name}","releases_url":"https://api.github.com/repos/coala-analyzer/coala-bears/releases{/id}","deployments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/deployments","created_at":"2016-02-14T09:25:11Z","updated_at":"2016-06-13T19:52:49Z","pushed_at":"2016-06-28T09:14:16Z","git_url":"git://github.com/coala-analyzer/coala-bears.git","ssh_url":"git@github.com:coala-analyzer/coala-bears.git","clone_url":"https://github.com/coala-analyzer/coala-bears.git","svn_url":"https://github.com/coala-analyzer/coala-bears","homepage":"http://coala-analyzer.org/","size":789,"stargazers_count":43,"watchers_count":43,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":139,"forks":57,"open_issues":139,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555"},"html":{"href":"https://github.com/coala-analyzer/coala-bears/pull/555"},"issue":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/555"},"comments":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/555/comments"},"review_comments":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555/comments"},"review_comment":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/555/commits"},"statuses":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/5dc230ccb79ca0319c981a7ba6e125a26820b00e"}}}}
{"actor":{"display_login":"sils1297"}}