{"action":"created","issue":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/332","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/332/comments","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/332/events","html_url":"https://github.com/yannickcr/eslint-plugin-react/pull/332","id":118707138,"number":332,"title":"[jsx-key] Fix false positives","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-24T21:30:53Z","updated_at":"2015-12-07T14:13:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/pulls/332","html_url":"https://github.com/yannickcr/eslint-plugin-react/pull/332","diff_url":"https://github.com/yannickcr/eslint-plugin-react/pull/332.diff","patch_url":"https://github.com/yannickcr/eslint-plugin-react/pull/332.patch"},"body":"Currently only failing tests because I'm new to developing ESLint rules, so it'll take me a couple of days.\n\nI was planning to do it by detecting if the calling method is `map`. This would apply to `Array.prototype.map` as well as `React.Children.map`. Are there any other cases where the rule should be looking for `key`?\n\nWill fix #320."},"comment":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/comments/162534418","html_url":"https://github.com/yannickcr/eslint-plugin-react/pull/332#issuecomment-162534418","issue_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/332","id":162534418,"user":{"login":"benmosher","id":3709196,"avatar_url":"https://avatars.githubusercontent.com/u/3709196?v=3","gravatar_id":"","url":"https://api.github.com/users/benmosher","html_url":"https://github.com/benmosher","followers_url":"https://api.github.com/users/benmosher/followers","following_url":"https://api.github.com/users/benmosher/following{/other_user}","gists_url":"https://api.github.com/users/benmosher/gists{/gist_id}","starred_url":"https://api.github.com/users/benmosher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmosher/subscriptions","organizations_url":"https://api.github.com/users/benmosher/orgs","repos_url":"https://api.github.com/users/benmosher/repos","events_url":"https://api.github.com/users/benmosher/events{/privacy}","received_events_url":"https://api.github.com/users/benmosher/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T14:13:58Z","updated_at":"2015-12-07T14:13:58Z","body":"I wondered if this would come up. Couldn't imagine any cases for arrow functions in non-iterators when I wrote the rule, but the examples from #320 make sense."}}