{"action":"created","issue":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/879","repository_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/879/labels{/name}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/879/comments","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/879/events","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/879","id":180600555,"number":879,"title":"no-unused-prop-types - count all properties as used when met {...this.props}","user":{"login":"victor-homyakov","id":121449,"avatar_url":"https://avatars.githubusercontent.com/u/121449?v=3","gravatar_id":"","url":"https://api.github.com/users/victor-homyakov","html_url":"https://github.com/victor-homyakov","followers_url":"https://api.github.com/users/victor-homyakov/followers","following_url":"https://api.github.com/users/victor-homyakov/following{/other_user}","gists_url":"https://api.github.com/users/victor-homyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/victor-homyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victor-homyakov/subscriptions","organizations_url":"https://api.github.com/users/victor-homyakov/orgs","repos_url":"https://api.github.com/users/victor-homyakov/repos","events_url":"https://api.github.com/users/victor-homyakov/events{/privacy}","received_events_url":"https://api.github.com/users/victor-homyakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-03T09:47:23Z","updated_at":"2016-10-04T08:52:04Z","closed_at":null,"body":"Suppose one of components has a bunch of properties, and just passes them to child component `<SomeChild {...this.props} />`. In this case `no-unused-prop-types` rule will mark all properties as unused. Although rule could be manually disabled for the component, I'd like to see that rule can handle that situation, maybe with an additional option in configuration."},"comment":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/comments/251331299","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/879#issuecomment-251331299","issue_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/879","id":251331299,"user":{"login":"victor-homyakov","id":121449,"avatar_url":"https://avatars.githubusercontent.com/u/121449?v=3","gravatar_id":"","url":"https://api.github.com/users/victor-homyakov","html_url":"https://github.com/victor-homyakov","followers_url":"https://api.github.com/users/victor-homyakov/followers","following_url":"https://api.github.com/users/victor-homyakov/following{/other_user}","gists_url":"https://api.github.com/users/victor-homyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/victor-homyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victor-homyakov/subscriptions","organizations_url":"https://api.github.com/users/victor-homyakov/orgs","repos_url":"https://api.github.com/users/victor-homyakov/repos","events_url":"https://api.github.com/users/victor-homyakov/events{/privacy}","received_events_url":"https://api.github.com/users/victor-homyakov/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T08:52:04Z","updated_at":"2016-10-04T08:52:04Z","body":"- linter could just mark all properties as used when it sees `{...this.props}`\r\n- linter could use sort of weak warning or info when some property is unused explicitly but is passed to child component with `{...this.props}`, e.g. \"Potentially unused property foo\" or \"Property foo is not used explicitly\""}}
{"actor":{"display_login":"victor-homyakov"}}