Rule Change: no-obj-calls
should support Intl
?
#16393
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
What rule do you want to change?
no-obj-calls
What change to do you want to make?
Generate more warnings
How do you think the change should be implemented?
A new default behavior
Example code
What does the rule currently do for this code?
No errors.
What will the rule do after it's changed?
Error:
'Intl' is not a function
Participation
Additional comments
I know
Intl
isn't defined in ECMA-202. But it is is defined in ECMA-402 that is internationalization API for ECMA-202.Also it is implemented in both browsers and Node.js, so I think it make sense that
no-obj-calls
supportIntl
.The text was updated successfully, but these errors were encountered: