Currently, new-for-builtins
enforce builtins used either call
or new
.
My idea is to extend this rule to check all builtins.
JSON
/Math
/Reflect
/Temporal
should be neither call
nor new
Intl.DateTimeFormat
/Temporal.Now
... should also be checkednew
and call
result the same Function('')
/new Function('')
, Error('')
/new Error('')
, use suggestion for other cases like new Symbol()
(runtime error)Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too