Skip to content

Option to allow top level using in script #17377

@fisker

Description

@fisker

💻

  • Would you like to work on this feature?

What problem are you trying to solve?

I think top level using in CommonJS module is allowd, we need an option similar to allowReturnOutsideFunction to allow.

Discussion in Acorn acornjs/acorn#1373 (comment)

Describe the solution you'd like

N/A

Describe alternatives you've considered

N/A

Documentation, Adoption, Migration Strategy

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions