Open
Description
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
.
Participation
- I am willing to submit a pull request for this change.
Additional comments
No response