Skip to content

refactor(ast): rework Extract API and add Check.isConditional - #1918

Merged
Rel1cx merged 2 commits into
mainfrom
refactor/ast-extract-api
Jul 20, 2026
Merged

refactor(ast): rework Extract API and add Check.isConditional#1918
Rel1cx merged 2 commits into
mainfrom
refactor/ast-extract-api

Conversation

@Rel1cx

@Rel1cx Rel1cx commented Jul 20, 2026

Copy link
Copy Markdown
Owner
  • Rename getRootIdentifier to getIdentifierAt with position support
  • Rename getStaticPropertyName to getPropertyName with min/max effort
  • Add findProperty for object property lookup with spread support
  • Add Check.isConditional for conditional expressions and control flow
  • Migrate call sites in react-x and react-jsx plugins

Update "[ ]" to "[x]" to check a box

What kind of change does this PR introduce?

Check at least one. If you are introducing a new binding, you must reference an issue where this binding has been proposed, discussed and approved by the maintainers.

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

Does this PR introduce a breaking change?

If yes, please describe the impact and migration path for existing applications in an attached issue.

  • 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

- Rename getRootIdentifier to getIdentifierAt with position support
- Rename getStaticPropertyName to getPropertyName with min/max effort
- Add findProperty for object property lookup with spread support
- Add Check.isConditional for conditional expressions and control flow
- Migrate call sites in react-x and react-jsx plugins
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
eslint-react Ready Ready Preview, Comment Jul 20, 2026 7:05am

@Rel1cx
Rel1cx marked this pull request as ready for review July 20, 2026 07:01
@Rel1cx
Rel1cx merged commit a73d4e5 into main Jul 20, 2026
10 of 11 checks passed
@Rel1cx
Rel1cx deleted the refactor/ast-extract-api branch July 20, 2026 07:01
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.

1 participant