Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better-regexp: Don't fix if .source or .toString() is used #1903

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Sep 19, 2022

Fixes #1878

@fisker fisker changed the title better-regexp: Don't fix if .source of .toString() is used better-regexp: Don't fix if .source or .toString() is used Sep 19, 2022
@fisker fisker marked this pull request as ready for review September 19, 2022 11:40
@sindresorhus sindresorhus merged commit 8ad592b into sindresorhus:main Sep 19, 2022
@fisker fisker deleted the better-regexp branch September 19, 2022 19:21
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.

better-regex should not be reported when .toString() or String() is called because it means different
2 participants