{"action":"created","comment":{"url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/comments/70475988","id":70475988,"diff_hunk":"@@ -40,7 +45,7 @@ module.exports = {\n      * }\n      * ```\n      */\n-    'brace-style': [ 'error', '1tbs' ],\n+    'brace-style': [ 'error', '1tbs', { allowSingleLine: true } ]","path":"lib/rules/style.js","position":21,"original_position":21,"commit_id":"39583deb2be97d19091273edaeaa712104e239f8","original_commit_id":"39583deb2be97d19091273edaeaa712104e239f8","user":{"login":"atian25","id":227713,"avatar_url":"https://avatars.githubusercontent.com/u/227713?v=3","gravatar_id":"","url":"https://api.github.com/users/atian25","html_url":"https://github.com/atian25","followers_url":"https://api.github.com/users/atian25/followers","following_url":"https://api.github.com/users/atian25/following{/other_user}","gists_url":"https://api.github.com/users/atian25/gists{/gist_id}","starred_url":"https://api.github.com/users/atian25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atian25/subscriptions","organizations_url":"https://api.github.com/users/atian25/orgs","repos_url":"https://api.github.com/users/atian25/repos","events_url":"https://api.github.com/users/atian25/events{/privacy}","received_events_url":"https://api.github.com/users/atian25/received_events","type":"User","site_admin":false},"body":"呃。。。明天改下。 顺便看看能不能自己lint自己","created_at":"2016-07-12T16:50:41Z","updated_at":"2016-07-12T16:50:41Z","html_url":"https://github.com/eggjs/eslint-config-egg/pull/17#discussion_r70475988","pull_request_url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/comments/70475988"},"html":{"href":"https://github.com/eggjs/eslint-config-egg/pull/17#discussion_r70475988"},"pull_request":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17","id":77074276,"html_url":"https://github.com/eggjs/eslint-config-egg/pull/17","diff_url":"https://github.com/eggjs/eslint-config-egg/pull/17.diff","patch_url":"https://github.com/eggjs/eslint-config-egg/pull/17.patch","issue_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/17","number":17,"state":"open","locked":false,"title":"feat: no-extra-parens, brace-style","user":{"login":"atian25","id":227713,"avatar_url":"https://avatars.githubusercontent.com/u/227713?v=3","gravatar_id":"","url":"https://api.github.com/users/atian25","html_url":"https://github.com/atian25","followers_url":"https://api.github.com/users/atian25/followers","following_url":"https://api.github.com/users/atian25/following{/other_user}","gists_url":"https://api.github.com/users/atian25/gists{/gist_id}","starred_url":"https://api.github.com/users/atian25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atian25/subscriptions","organizations_url":"https://api.github.com/users/atian25/orgs","repos_url":"https://api.github.com/users/atian25/repos","events_url":"https://api.github.com/users/atian25/events{/privacy}","received_events_url":"https://api.github.com/users/atian25/received_events","type":"User","site_admin":false},"body":"- [x] [`brace-style: [ 'error', '1tbs', { allowSingleLine: true } ]`](http://eslint.org/docs/rules/brace-style)\r\n- [x] [`no-extra-parens: [ 'error', 'functions' ]`](http://eslint.org/docs/rules/no-extra-parens)\r\n```\r\nmodule.export = app => (\r\n  /**\r\n   * 不用 return, 还能写注释\r\n   */\r\n  class Test extends app.Proxy {\r\n  \r\n  }\r\n);\r\n```\r\nclose #14 ","created_at":"2016-07-12T07:39:52Z","updated_at":"2016-07-12T16:51:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bec742ca00ec1baf6eaebd91087cc84ecb977be4","assignee":{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"assignees":[{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},{"login":"popomore","id":360661,"avatar_url":"https://avatars.githubusercontent.com/u/360661?v=3","gravatar_id":"","url":"https://api.github.com/users/popomore","html_url":"https://github.com/popomore","followers_url":"https://api.github.com/users/popomore/followers","following_url":"https://api.github.com/users/popomore/following{/other_user}","gists_url":"https://api.github.com/users/popomore/gists{/gist_id}","starred_url":"https://api.github.com/users/popomore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popomore/subscriptions","organizations_url":"https://api.github.com/users/popomore/orgs","repos_url":"https://api.github.com/users/popomore/repos","events_url":"https://api.github.com/users/popomore/events{/privacy}","received_events_url":"https://api.github.com/users/popomore/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17/commits","review_comments_url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17/comments","review_comment_url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/17/comments","statuses_url":"https://api.github.com/repos/eggjs/eslint-config-egg/statuses/39583deb2be97d19091273edaeaa712104e239f8","head":{"label":"eggjs:rules","ref":"rules","sha":"39583deb2be97d19091273edaeaa712104e239f8","user":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":46123862,"name":"eslint-config-egg","full_name":"eggjs/eslint-config-egg","owner":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggjs/eslint-config-egg","description":"Node Style Guide for Egg.","fork":false,"url":"https://api.github.com/repos/eggjs/eslint-config-egg","forks_url":"https://api.github.com/repos/eggjs/eslint-config-egg/forks","keys_url":"https://api.github.com/repos/eggjs/eslint-config-egg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/eslint-config-egg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/eslint-config-egg/teams","hooks_url":"https://api.github.com/repos/eggjs/eslint-config-egg/hooks","issue_events_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/eslint-config-egg/events","assignees_url":"https://api.github.com/repos/eggjs/eslint-config-egg/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/eslint-config-egg/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/eslint-config-egg/tags","blobs_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/eslint-config-egg/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/eslint-config-egg/languages","stargazers_url":"https://api.github.com/repos/eggjs/eslint-config-egg/stargazers","contributors_url":"https://api.github.com/repos/eggjs/eslint-config-egg/contributors","subscribers_url":"https://api.github.com/repos/eggjs/eslint-config-egg/subscribers","subscription_url":"https://api.github.com/repos/eggjs/eslint-config-egg/subscription","commits_url":"https://api.github.com/repos/eggjs/eslint-config-egg/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/eslint-config-egg/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/eslint-config-egg/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/eslint-config-egg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/eslint-config-egg/merges","archive_url":"https://api.github.com/repos/eggjs/eslint-config-egg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/eslint-config-egg/downloads","issues_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/eslint-config-egg/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/eslint-config-egg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/eslint-config-egg/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/eslint-config-egg/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/eslint-config-egg/deployments","created_at":"2015-11-13T13:35:16Z","updated_at":"2016-07-10T16:52:13Z","pushed_at":"2016-07-12T08:09:21Z","git_url":"git://github.com/eggjs/eslint-config-egg.git","ssh_url":"git@github.com:eggjs/eslint-config-egg.git","clone_url":"https://github.com/eggjs/eslint-config-egg.git","svn_url":"https://github.com/eggjs/eslint-config-egg","homepage":"http://eggjs.org","size":33,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":14,"default_branch":"master"}},"base":{"label":"eggjs:master","ref":"master","sha":"0628fef4fbfbbe22e191e50bdde4dc22dd045d50","user":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":46123862,"name":"eslint-config-egg","full_name":"eggjs/eslint-config-egg","owner":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggjs/eslint-config-egg","description":"Node Style Guide for Egg.","fork":false,"url":"https://api.github.com/repos/eggjs/eslint-config-egg","forks_url":"https://api.github.com/repos/eggjs/eslint-config-egg/forks","keys_url":"https://api.github.com/repos/eggjs/eslint-config-egg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/eslint-config-egg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/eslint-config-egg/teams","hooks_url":"https://api.github.com/repos/eggjs/eslint-config-egg/hooks","issue_events_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/eslint-config-egg/events","assignees_url":"https://api.github.com/repos/eggjs/eslint-config-egg/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/eslint-config-egg/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/eslint-config-egg/tags","blobs_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/eslint-config-egg/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/eslint-config-egg/languages","stargazers_url":"https://api.github.com/repos/eggjs/eslint-config-egg/stargazers","contributors_url":"https://api.github.com/repos/eggjs/eslint-config-egg/contributors","subscribers_url":"https://api.github.com/repos/eggjs/eslint-config-egg/subscribers","subscription_url":"https://api.github.com/repos/eggjs/eslint-config-egg/subscription","commits_url":"https://api.github.com/repos/eggjs/eslint-config-egg/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/eslint-config-egg/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/eslint-config-egg/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/eslint-config-egg/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/eslint-config-egg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/eslint-config-egg/merges","archive_url":"https://api.github.com/repos/eggjs/eslint-config-egg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/eslint-config-egg/downloads","issues_url":"https://api.github.com/repos/eggjs/eslint-config-egg/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/eslint-config-egg/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/eslint-config-egg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/eslint-config-egg/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/eslint-config-egg/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/eslint-config-egg/deployments","created_at":"2015-11-13T13:35:16Z","updated_at":"2016-07-10T16:52:13Z","pushed_at":"2016-07-12T08:09:21Z","git_url":"git://github.com/eggjs/eslint-config-egg.git","ssh_url":"git@github.com:eggjs/eslint-config-egg.git","clone_url":"https://github.com/eggjs/eslint-config-egg.git","svn_url":"https://github.com/eggjs/eslint-config-egg","homepage":"http://eggjs.org","size":33,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17"},"html":{"href":"https://github.com/eggjs/eslint-config-egg/pull/17"},"issue":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/17"},"comments":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/eggjs/eslint-config-egg/statuses/39583deb2be97d19091273edaeaa712104e239f8"}}}}
{"actor":{"display_login":"atian25"}}