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

new-for-builtins: Remove auto-fix for new String, new Boolean(), and new Number() #907

Merged
merged 4 commits into from Nov 24, 2020

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Nov 24, 2020

new Symbol() and new BigInt() still auto-fix, they can't call with new anyway.

Fixes #901

Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
@sindresorhus sindresorhus merged commit dfc1ce0 into sindresorhus:master Nov 24, 2020
@fisker fisker deleted the issue-901 branch November 24, 2020 11:54
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.

<new-for-builtins> : potential side effects auto fix
2 participants