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

Add Intl to builtin and es2015 #213

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Feb 19, 2024

Intl(ECMA-402) should be considered builtin, like JSON(ECMA-404), MDN also list it in "Standard built-in objects" page.

According to the spec

The 2nd Edition API was adopted by the General Assembly of June 2015, as a complement to the ECMAScript 6th Edition.

Make sense to add to es2015 too.

@sindresorhus sindresorhus merged commit ab7d3b5 into sindresorhus:main Feb 19, 2024
2 checks passed
@fisker fisker deleted the intl branch February 19, 2024 13:42
aladdin-add added a commit to eslint/eslint that referenced this pull request Apr 11, 2024
aladdin-add added a commit to eslint/eslint that referenced this pull request Apr 12, 2024
fasttime pushed a commit to eslint/eslint that referenced this pull request Apr 13, 2024
fix: add `Intl` in es6 globals

see the discussion: sindresorhus/globals#213 (comment)
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.

2 participants