Skip to content

[babel-plugin] Remove unused removeNulls helper - #1978

Open
henryqdineen wants to merge 1 commit into
meta:mainfrom
henryqdineen:hqd-remove-unused-remove-nulls
Open

henryqdineen wants to merge 1 commit into
meta:mainfrom
henryqdineen:hqd-remove-unused-remove-nulls

Conversation

@henryqdineen

Copy link
Copy Markdown
Collaborator

What changed / motivation ?

Removes packages/@stylexjs/babel-plugin/src/utils/helpers.js. removeNulls is its only export and nothing imports the file, so it's dead code. Knip also reports it as an unused file.

Linked PR/Issues

Supersedes #1573, which tweaks removeNulls. Since the function is never called, deleting it makes that change unnecessary, so we'll close #1573.

Additional Context

No behavior change, because nothing references the removed code.

Pre-flight checklist

🤖 Generated with Claude Code

Nothing imports utils/helpers.js and removeNulls is its only export, so the file is dead code. Knip reports it as an unused file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 21, 2026
@vercel

vercel Bot commented Oct 21, 2026

Copy link
Copy Markdown

@henryqdineen is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant