-
Notifications
You must be signed in to change notification settings - Fork 13
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
ES module support for check-es-compat #69
Comments
I didn't check the tool before releasing v3.0.0, despite it being on the checklist in contributing.md |
There are probably some things on the other hand, that are not allowed in sourceType=module. Needs thinking. Quite niche issue probably. Fix when doing next batch of work. |
ES2020 |
Tool needs to be told what the sourceType is, so needs a command line arg. Even import/export statements don't work. |
Would love to see this! We'd like to use this package to check our final frontend build, and most frontend builds these days are ESM (including ours) |
Its
parserOptions
doesn't includesourceType: 'module'
, and top-levelawait
can only be used in ES modules.The text was updated successfully, but these errors were encountered: