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

ES2022 Arbitrary module namespace names #62

Closed
robatwilliams opened this issue May 4, 2023 · 1 comment
Closed

ES2022 Arbitrary module namespace names #62

robatwilliams opened this issue May 4, 2023 · 1 comment
Labels
blocked This cannot be worked on until something external happens modernise Needs doing for evergreenness wontfix This will not be worked on

Comments

@robatwilliams
Copy link
Owner

Supported by the plugin - https://eslint-community.github.io/eslint-plugin-es-x/rules/no-arbitrary-module-namespace-names.html

Support data is waiting on mdn/browser-compat-data#18152

So this couldn't be done as part of #44

@robatwilliams robatwilliams added enhancement New feature or request blocked This cannot be worked on until something external happens modernise Needs doing for evergreenness wontfix This will not be worked on and removed enhancement New feature or request labels May 4, 2023
@robatwilliams
Copy link
Owner Author

Spec came from tc39/ecma262#2154. Seems to be about alignment rather than a feature people wanted.

I'm not sure why anyone would ever want to use arbitrary string literals for import and export names.

I don't think it's worth implementing this for the sake of completeness alone, so closing. Comment if you think it'd be useful.

@robatwilliams robatwilliams closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This cannot be worked on until something external happens modernise Needs doing for evergreenness wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant