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

require-number-to-fixed-digits-argument: Ignore .toFixed from new expression #1601

Merged
merged 2 commits into from Nov 11, 2021

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Nov 11, 2021

new Number() is not recommended anyway, so I didn't check the constructor name.

Closes #1463

@sindresorhus sindresorhus merged commit 20d61e7 into sindresorhus:main Nov 11, 2021
@fisker fisker deleted the new-to-fixed branch November 11, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants