Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Sep 3, 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 Sep 3, 2025

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

Project Deployment Preview Comments Updated (UTC)
eslint-react Ready Ready Preview Comment Sep 3, 2025 8:53pm

@Rel1cx Rel1cx requested a review from Copilot September 3, 2025 20:44
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 updates the naming convention rules in the eslint-react plugin by enhancing default exception patterns and improving documentation. The changes primarily focus on making the filename rule more flexible for modern web frameworks while removing deprecated functionality.

  • Updates default exception patterns to include common framework-specific files (e.g., dynamic routes, underscore prefixed files, numeric files)
  • Improves filename validation logic to handle special characters more robustly
  • Removes deprecated options and rules while updating documentation with better examples

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
filename.ts Updates default exceptions and refactors validation logic for better special character handling
filename.spec.ts Adds comprehensive test cases for the new exception patterns and validation behavior
filename.mdx Complete documentation rewrite with modern examples and clearer configuration guidance
filename-extension.mdx Minor heading consistency update
component-name.ts Removes deprecated options from schema
component-name.mdx Updates section heading for consistency
no-direct-set-state-in-use-layout-effect.mdx Removes experimental warning and updates content
prefer-namespace-import.mdx Removes entire file content
meta.json Removes reference to deleted rule

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

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