-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
As far as I know, the following construction, though syntactically valid, would never be used intentionally since ParseJSONModule has no side effects:
import 'data.json' assert { type: 'json' };
In that case, disallowing it could surface programming errors. I'm not sure if the restriction would justify the complexity of another early error, though. Is it better left to linters?
sofyanwaldy
Metadata
Metadata
Assignees
Labels
No labels