Skip to content

no-unsafe-string-replacement: Ignore non-string receivers#3442

Merged
sindresorhus merged 1 commit into
mainfrom
fix-no-unsafe-string-replacement-non-string-receiver
Jun 24, 2026
Merged

no-unsafe-string-replacement: Ignore non-string receivers#3442
sindresorhus merged 1 commit into
mainfrom
fix-no-unsafe-string-replacement-non-string-receiver

Conversation

@sindresorhus

Copy link
Copy Markdown
Owner

Fixes #3437

@sindresorhus
sindresorhus merged commit 05c7c25 into main Jun 24, 2026
16 checks passed
@sindresorhus
sindresorhus deleted the fix-no-unsafe-string-replacement-non-string-receiver branch June 24, 2026 22:09
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.

no-unsafe-string-replacement: False positive on non-String .replace() methods

1 participant