Skip to content

Add extraction of function directives - #1440

Merged
Rel1cx merged 3 commits into
mainfrom
component-detection-2
Jan 29, 2026
Merged

Add extraction of function directives#1440
Rel1cx merged 3 commits into
mainfrom
component-detection-2

Conversation

@Rel1cx

@Rel1cx Rel1cx commented Jan 29, 2026

Copy link
Copy Markdown
Owner

What kind of change does this PR introduce?

  • 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?

  • 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

vercel Bot commented Jan 29, 2026

Copy link
Copy Markdown

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

Project Deployment Review Updated (UTC)
eslint-react Ready Ready Preview, Comment Jan 29, 2026 3:13am

- Rename hasNoneOrLooseComponentName to isFunctionWithLooseComponentName
  and update the API
- Use the new function in component-collector with strict name check
- Update component-definition to allow unnamed when appropriate
- Update docs to reference isFunctionWithLooseComponentName
- Remove hasNoneOrLooseComponentName doc
- Extend tests to cover new loose-name checks
@Rel1cx
Rel1cx merged commit 718e9f0 into main Jan 29, 2026
8 of 12 checks passed
@Rel1cx
Rel1cx deleted the component-detection-2 branch January 29, 2026 03:10
Rel1cx added a commit that referenced this pull request May 15, 2026
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