{"action":"created","issue":{"url":"https://api.github.com/repos/frantic1048/testwork/issues/2","repository_url":"https://api.github.com/repos/frantic1048/testwork","labels_url":"https://api.github.com/repos/frantic1048/testwork/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/frantic1048/testwork/issues/2/comments","events_url":"https://api.github.com/repos/frantic1048/testwork/issues/2/events","html_url":"https://github.com/frantic1048/testwork/pull/2","id":159865297,"number":2,"title":"【提交 通知模块 和 用户管理模块 测试代码】","user":{"login":"diwujiahao","id":17693284,"avatar_url":"https://avatars.githubusercontent.com/u/17693284?v=3","gravatar_id":"","url":"https://api.github.com/users/diwujiahao","html_url":"https://github.com/diwujiahao","followers_url":"https://api.github.com/users/diwujiahao/followers","following_url":"https://api.github.com/users/diwujiahao/following{/other_user}","gists_url":"https://api.github.com/users/diwujiahao/gists{/gist_id}","starred_url":"https://api.github.com/users/diwujiahao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diwujiahao/subscriptions","organizations_url":"https://api.github.com/users/diwujiahao/orgs","repos_url":"https://api.github.com/users/diwujiahao/repos","events_url":"https://api.github.com/users/diwujiahao/events{/privacy}","received_events_url":"https://api.github.com/users/diwujiahao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-13T02:57:19Z","updated_at":"2016-06-13T09:12:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/frantic1048/testwork/pulls/2","html_url":"https://github.com/frantic1048/testwork/pull/2","diff_url":"https://github.com/frantic1048/testwork/pull/2.diff","patch_url":"https://github.com/frantic1048/testwork/pull/2.patch"},"body":"通知模块\r\n用户管理模块"},"comment":{"url":"https://api.github.com/repos/frantic1048/testwork/issues/comments/225527940","html_url":"https://github.com/frantic1048/testwork/pull/2#issuecomment-225527940","issue_url":"https://api.github.com/repos/frantic1048/testwork/issues/2","id":225527940,"user":{"login":"frantic1048","id":3102803,"avatar_url":"https://avatars.githubusercontent.com/u/3102803?v=3","gravatar_id":"","url":"https://api.github.com/users/frantic1048","html_url":"https://github.com/frantic1048","followers_url":"https://api.github.com/users/frantic1048/followers","following_url":"https://api.github.com/users/frantic1048/following{/other_user}","gists_url":"https://api.github.com/users/frantic1048/gists{/gist_id}","starred_url":"https://api.github.com/users/frantic1048/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frantic1048/subscriptions","organizations_url":"https://api.github.com/users/frantic1048/orgs","repos_url":"https://api.github.com/users/frantic1048/repos","events_url":"https://api.github.com/users/frantic1048/events{/privacy}","received_events_url":"https://api.github.com/users/frantic1048/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T09:12:14Z","updated_at":"2016-06-13T09:12:14Z","body":"你的代码里面主要的问题有以下：\r\n\r\n_粗体表示_ 的为需要手动修正的问题，其余的可以通过 ESLint 自动修正，\r\n\r\n即前面代码规范提到的 `npm run lint:fix` 命令。\r\n\r\n比较大的问题：\r\n\r\n- **声明了但没使用过的变量** ：根据使用情况，删掉没有用过的变量的声明。\r\n- 缩进\r\n- Tab 空格的混合\r\n\r\n一般程度的问题：\r\n\r\n- **太长的代码行** ：CSS 选择器字符串可以段成有意义的多行来帮助阅读。\r\n- 缺分号\r\n- `//` 后需要空格\r\n- 括号的空格间隙\r\n- 行末的多余空格\r\n- 代码块末尾空行\r\n- 超过两行的连续空行\r\n- 函数括号的空格空隙\r\n"}}
{"actor":{"display_login":"frantic1048"}}