Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Aug 18, 2025

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • Test
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • I have added a convincing reason for adding this feature, if necessary

Other information

@vercel
Copy link

vercel bot commented Aug 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
eslint-react Building Building Preview Comment Aug 18, 2025 3:50pm

@Rel1cx Rel1cx requested a review from Copilot August 18, 2025 15:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the documentation examples in the react-x/no-unused-props ESLint rule by replacing generic, unclear examples with more realistic and descriptive React component scenarios. The changes make the rule's purpose and behavior clearer through practical examples.

Key changes:

  • Replaced abstract Props/Component examples with concrete React components like Button, UserProfile, and ProfilePage
  • Added descriptive comments explaining why each example passes or fails the rule
  • Enhanced examples to demonstrate real-world use cases including prop spreading and shared interface usage

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Rel1cx Rel1cx merged commit 4c0f56d into 2.0.0-beta Aug 18, 2025
8 of 10 checks passed
@Rel1cx Rel1cx deleted the no-unused-props branch August 18, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants