Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Nov 1, 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 Nov 1, 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 Nov 1, 2025 7:07pm

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 adds a new ESLint rule jsx-dollar that detects and suggests fixes for unnecessary dollar signs ($) before JSX expressions, which commonly occur when refactoring from template literals to JSX. The PR also updates documentation links from the main branch to jsx-dollar branch and bumps the dprint TypeScript plugin version.

  • Implements a new rule that identifies $ characters immediately before JSX expression containers
  • Provides autofix suggestions to remove the unnecessary dollar sign
  • Includes comprehensive test cases and documentation

Reviewed Changes

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

Show a summary per file
File Description
packages/plugins/eslint-plugin-react-x/src/rules/jsx-dollar.ts New rule implementation detecting dollar signs before JSX expressions
packages/plugins/eslint-plugin-react-x/src/rules/jsx-dollar.spec.ts Test cases for the new jsx-dollar rule
packages/plugins/eslint-plugin-react-x/src/rules/jsx-dollar.mdx Documentation explaining the rule's purpose and usage examples
packages/plugins/eslint-plugin/README.md Updated GitHub links to point to jsx-dollar branch
apps/website/content/docs/rules/meta.json Added jsx-dollar to the rules navigation menu
dprint.json Bumped TypeScript plugin version from 0.95.11 to 0.95.12

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Rel1cx Rel1cx marked this pull request as ready for review November 1, 2025 18:35
@Rel1cx Rel1cx requested a review from Copilot November 1, 2025 18:35
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

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Rel1cx Rel1cx closed this Nov 1, 2025
@Rel1cx Rel1cx deleted the jsx-dollar branch November 1, 2025 19:42
@Rel1cx Rel1cx restored the jsx-dollar branch November 1, 2025 19:43
@Rel1cx Rel1cx reopened this Nov 1, 2025
@Rel1cx Rel1cx merged commit d9181ef into main Nov 1, 2025
17 checks passed
@Rel1cx Rel1cx deleted the jsx-dollar branch November 1, 2025 19:43
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