{"action":"opened","number":479,"pull_request":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/479","id":32638477,"html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/479","diff_url":"https://github.com/react-bootstrap/react-bootstrap/pull/479.diff","patch_url":"https://github.com/react-bootstrap/react-bootstrap/pull/479.patch","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/479","number":479,"state":"open","locked":false,"title":"Add react/jsx-uses-vars option for eslint.","user":{"login":"AlexKVal","id":847572,"avatar_url":"https://avatars.githubusercontent.com/u/847572?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKVal","html_url":"https://github.com/AlexKVal","followers_url":"https://api.github.com/users/AlexKVal/followers","following_url":"https://api.github.com/users/AlexKVal/following{/other_user}","gists_url":"https://api.github.com/users/AlexKVal/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKVal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKVal/subscriptions","organizations_url":"https://api.github.com/users/AlexKVal/orgs","repos_url":"https://api.github.com/users/AlexKVal/repos","events_url":"https://api.github.com/users/AlexKVal/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKVal/received_events","type":"User","site_admin":false},"body":"It removes 17 unnecessary eslint warnings.\r\n\r\nSince 0.17.0 the ESLint no-unused-vars rule does not detect variables used in JSX\r\n\r\n[react/jsx-uses-vars](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-uses-vars.md)\r\n\r\nLike in: (Button.js)\r\n```javascript\r\n    let Component = this.props.componentClass || 'a’;\r\n    ...\r\n    return (\r\n      <Component ...\r\n```\r\neslint warning: `Component is defined but never used.`","created_at":"2015-04-04T19:39:52Z","updated_at":"2015-04-04T19:39:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/479/commits","review_comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/479/comments","review_comment_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/479/comments","statuses_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/8f8abba3dacf2e85466ac39d44bbbf3dd82aec06","head":{"label":"AlexKVal:lint1","ref":"lint1","sha":"8f8abba3dacf2e85466ac39d44bbbf3dd82aec06","user":{"login":"AlexKVal","id":847572,"avatar_url":"https://avatars.githubusercontent.com/u/847572?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKVal","html_url":"https://github.com/AlexKVal","followers_url":"https://api.github.com/users/AlexKVal/followers","following_url":"https://api.github.com/users/AlexKVal/following{/other_user}","gists_url":"https://api.github.com/users/AlexKVal/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKVal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKVal/subscriptions","organizations_url":"https://api.github.com/users/AlexKVal/orgs","repos_url":"https://api.github.com/users/AlexKVal/repos","events_url":"https://api.github.com/users/AlexKVal/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKVal/received_events","type":"User","site_admin":false},"repo":{"id":33413233,"name":"react-bootstrap","full_name":"AlexKVal/react-bootstrap","owner":{"login":"AlexKVal","id":847572,"avatar_url":"https://avatars.githubusercontent.com/u/847572?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKVal","html_url":"https://github.com/AlexKVal","followers_url":"https://api.github.com/users/AlexKVal/followers","following_url":"https://api.github.com/users/AlexKVal/following{/other_user}","gists_url":"https://api.github.com/users/AlexKVal/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKVal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKVal/subscriptions","organizations_url":"https://api.github.com/users/AlexKVal/orgs","repos_url":"https://api.github.com/users/AlexKVal/repos","events_url":"https://api.github.com/users/AlexKVal/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKVal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexKVal/react-bootstrap","description":"Bootstrap 3 components built with React","fork":true,"url":"https://api.github.com/repos/AlexKVal/react-bootstrap","forks_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/forks","keys_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/teams","hooks_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/events","assignees_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/tags","blobs_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/languages","stargazers_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/subscription","commits_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/merges","archive_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/downloads","issues_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/AlexKVal/react-bootstrap/releases{/id}","created_at":"2015-04-04T17:07:34Z","updated_at":"2015-04-04T17:07:35Z","pushed_at":"2015-04-04T19:39:00Z","git_url":"git://github.com/AlexKVal/react-bootstrap.git","ssh_url":"git@github.com:AlexKVal/react-bootstrap.git","clone_url":"https://github.com/AlexKVal/react-bootstrap.git","svn_url":"https://github.com/AlexKVal/react-bootstrap","homepage":"http://react-bootstrap.github.io/","size":5569,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"react-bootstrap:master","ref":"master","sha":"c6c41087fe2c179608f8f14b599a7253ba1d93a5","user":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"repo":{"id":15480067,"name":"react-bootstrap","full_name":"react-bootstrap/react-bootstrap","owner":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/react-bootstrap/react-bootstrap","description":"Bootstrap 3 components built with React","fork":false,"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap","forks_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/forks","keys_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/teams","hooks_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/events","assignees_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/tags","blobs_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/languages","stargazers_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/subscription","commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/merges","archive_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/downloads","issues_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/releases{/id}","created_at":"2013-12-27T19:06:07Z","updated_at":"2015-04-04T19:38:09Z","pushed_at":"2015-04-04T14:57:12Z","git_url":"git://github.com/react-bootstrap/react-bootstrap.git","ssh_url":"git@github.com:react-bootstrap/react-bootstrap.git","clone_url":"https://github.com/react-bootstrap/react-bootstrap.git","svn_url":"https://github.com/react-bootstrap/react-bootstrap","homepage":"http://react-bootstrap.github.io/","size":5569,"stargazers_count":1916,"watchers_count":1916,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":290,"mirror_url":null,"open_issues_count":113,"forks":290,"open_issues":113,"watchers":1916,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/479"},"html":{"href":"https://github.com/react-bootstrap/react-bootstrap/pull/479"},"issue":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/479"},"comments":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/479/comments"},"review_comments":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/479/comments"},"review_comment":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/479/commits"},"statuses":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/8f8abba3dacf2e85466ac39d44bbbf3dd82aec06"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}