{"action":"opened","number":385,"pull_request":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/385","id":55340452,"html_url":"https://github.com/yannickcr/eslint-plugin-react/pull/385","diff_url":"https://github.com/yannickcr/eslint-plugin-react/pull/385.diff","patch_url":"https://github.com/yannickcr/eslint-plugin-react/pull/385.patch","issue_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/385","number":385,"state":"open","locked":false,"title":"Add allowRefs to the jsx-no-bind rule","user":{"login":"silvenon","id":471278,"avatar_url":"https://avatars.githubusercontent.com/u/471278?v=3","gravatar_id":"","url":"https://api.github.com/users/silvenon","html_url":"https://github.com/silvenon","followers_url":"https://api.github.com/users/silvenon/followers","following_url":"https://api.github.com/users/silvenon/following{/other_user}","gists_url":"https://api.github.com/users/silvenon/gists{/gist_id}","starred_url":"https://api.github.com/users/silvenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvenon/subscriptions","organizations_url":"https://api.github.com/users/silvenon/orgs","repos_url":"https://api.github.com/users/silvenon/repos","events_url":"https://api.github.com/users/silvenon/events{/privacy}","received_events_url":"https://api.github.com/users/silvenon/received_events","type":"User","site_admin":false},"body":"Not sure how you want to go about this. I first wanted to allow `ref` callbacks always, but it's still a bad practice for the same reasons, so I thought `allowRefs` option would be nice? However, it might be confusing that `allowArrowFunctions` and `allowBind` affects `ref` as well.\n\nAlso, I added other missing options to the docs. Is `|| false` a good way to document that it defaults to `false`?\n\nFixes #330.\nRefs #357.","created_at":"2016-01-07T13:59:58Z","updated_at":"2016-01-07T13:59:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/385/commits","review_comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/385/comments","review_comment_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/385/comments","statuses_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/statuses/19f0cc48e87f128f30bea7910ae4149310c91718","head":{"label":"silvenon:ref","ref":"ref","sha":"19f0cc48e87f128f30bea7910ae4149310c91718","user":{"login":"silvenon","id":471278,"avatar_url":"https://avatars.githubusercontent.com/u/471278?v=3","gravatar_id":"","url":"https://api.github.com/users/silvenon","html_url":"https://github.com/silvenon","followers_url":"https://api.github.com/users/silvenon/followers","following_url":"https://api.github.com/users/silvenon/following{/other_user}","gists_url":"https://api.github.com/users/silvenon/gists{/gist_id}","starred_url":"https://api.github.com/users/silvenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvenon/subscriptions","organizations_url":"https://api.github.com/users/silvenon/orgs","repos_url":"https://api.github.com/users/silvenon/repos","events_url":"https://api.github.com/users/silvenon/events{/privacy}","received_events_url":"https://api.github.com/users/silvenon/received_events","type":"User","site_admin":false},"repo":{"id":46819436,"name":"eslint-plugin-react","full_name":"silvenon/eslint-plugin-react","owner":{"login":"silvenon","id":471278,"avatar_url":"https://avatars.githubusercontent.com/u/471278?v=3","gravatar_id":"","url":"https://api.github.com/users/silvenon","html_url":"https://github.com/silvenon","followers_url":"https://api.github.com/users/silvenon/followers","following_url":"https://api.github.com/users/silvenon/following{/other_user}","gists_url":"https://api.github.com/users/silvenon/gists{/gist_id}","starred_url":"https://api.github.com/users/silvenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvenon/subscriptions","organizations_url":"https://api.github.com/users/silvenon/orgs","repos_url":"https://api.github.com/users/silvenon/repos","events_url":"https://api.github.com/users/silvenon/events{/privacy}","received_events_url":"https://api.github.com/users/silvenon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/silvenon/eslint-plugin-react","description":"React specific linting rules for ESLint","fork":true,"url":"https://api.github.com/repos/silvenon/eslint-plugin-react","forks_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/forks","keys_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/teams","hooks_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/hooks","issue_events_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/issues/events{/number}","events_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/events","assignees_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/assignees{/user}","branches_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/branches{/branch}","tags_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/tags","blobs_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/statuses/{sha}","languages_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/languages","stargazers_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/stargazers","contributors_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/contributors","subscribers_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/subscribers","subscription_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/subscription","commits_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/contents/{+path}","compare_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/merges","archive_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/downloads","issues_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/issues{/number}","pulls_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/pulls{/number}","milestones_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/milestones{/number}","notifications_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/labels{/name}","releases_url":"https://api.github.com/repos/silvenon/eslint-plugin-react/releases{/id}","created_at":"2015-11-24T21:23:17Z","updated_at":"2015-11-24T21:23:18Z","pushed_at":"2016-01-07T13:55:46Z","git_url":"git://github.com/silvenon/eslint-plugin-react.git","ssh_url":"git@github.com:silvenon/eslint-plugin-react.git","clone_url":"https://github.com/silvenon/eslint-plugin-react.git","svn_url":"https://github.com/silvenon/eslint-plugin-react","homepage":null,"size":594,"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":"yannickcr:master","ref":"master","sha":"a929545634640b74bcae71a752cf6214f616796f","user":{"login":"yannickcr","id":13209,"avatar_url":"https://avatars.githubusercontent.com/u/13209?v=3","gravatar_id":"","url":"https://api.github.com/users/yannickcr","html_url":"https://github.com/yannickcr","followers_url":"https://api.github.com/users/yannickcr/followers","following_url":"https://api.github.com/users/yannickcr/following{/other_user}","gists_url":"https://api.github.com/users/yannickcr/gists{/gist_id}","starred_url":"https://api.github.com/users/yannickcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannickcr/subscriptions","organizations_url":"https://api.github.com/users/yannickcr/orgs","repos_url":"https://api.github.com/users/yannickcr/repos","events_url":"https://api.github.com/users/yannickcr/events{/privacy}","received_events_url":"https://api.github.com/users/yannickcr/received_events","type":"User","site_admin":false},"repo":{"id":28061676,"name":"eslint-plugin-react","full_name":"yannickcr/eslint-plugin-react","owner":{"login":"yannickcr","id":13209,"avatar_url":"https://avatars.githubusercontent.com/u/13209?v=3","gravatar_id":"","url":"https://api.github.com/users/yannickcr","html_url":"https://github.com/yannickcr","followers_url":"https://api.github.com/users/yannickcr/followers","following_url":"https://api.github.com/users/yannickcr/following{/other_user}","gists_url":"https://api.github.com/users/yannickcr/gists{/gist_id}","starred_url":"https://api.github.com/users/yannickcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannickcr/subscriptions","organizations_url":"https://api.github.com/users/yannickcr/orgs","repos_url":"https://api.github.com/users/yannickcr/repos","events_url":"https://api.github.com/users/yannickcr/events{/privacy}","received_events_url":"https://api.github.com/users/yannickcr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yannickcr/eslint-plugin-react","description":"React specific linting rules for ESLint","fork":false,"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react","forks_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/forks","keys_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/teams","hooks_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/hooks","issue_events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/events{/number}","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/events","assignees_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/assignees{/user}","branches_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/branches{/branch}","tags_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/tags","blobs_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/statuses/{sha}","languages_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/languages","stargazers_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/stargazers","contributors_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/contributors","subscribers_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/subscribers","subscription_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/subscription","commits_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/contents/{+path}","compare_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/merges","archive_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/downloads","issues_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues{/number}","pulls_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls{/number}","milestones_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/milestones{/number}","notifications_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/labels{/name}","releases_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/releases{/id}","created_at":"2014-12-15T23:44:14Z","updated_at":"2016-01-07T08:39:11Z","pushed_at":"2016-01-07T00:37:29Z","git_url":"git://github.com/yannickcr/eslint-plugin-react.git","ssh_url":"git@github.com:yannickcr/eslint-plugin-react.git","clone_url":"https://github.com/yannickcr/eslint-plugin-react.git","svn_url":"https://github.com/yannickcr/eslint-plugin-react","homepage":null,"size":634,"stargazers_count":762,"watchers_count":762,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"open_issues_count":52,"forks":100,"open_issues":52,"watchers":762,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/385"},"html":{"href":"https://github.com/yannickcr/eslint-plugin-react/pull/385"},"issue":{"href":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/385"},"comments":{"href":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/385/comments"},"review_comments":{"href":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/385/comments"},"review_comment":{"href":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/385/commits"},"statuses":{"href":"https://api.github.com/repos/yannickcr/eslint-plugin-react/statuses/19f0cc48e87f128f30bea7910ae4149310c91718"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":63,"deletions":1,"changed_files":3}}