8000 Change Request: CommonJS always allows top-level `using` declarations · Issue #662 · eslint/js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Change Request: CommonJS always allows top-level using declarations #662
Open
@ota-meshi

Description

@ota-meshi

Which packages would you like to change?

  • espree
  • eslint-scope
  • eslint-visitor-keys

What problem do you want to solve?

Top-level using declarations are not allowed for sourceType: script, but I would like them to be allowed for sourceType: commonjs.

What do you think is the correct solution?

Add the option to acorn and use it if sourceType: commonjs.

acornjs/acorn#1376

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Metadata

Metadata

Assignees

3D36

Type

No type

Projects

Status

Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0