Unexpected token with dynamic import with type assertion
remisture opened this issue · 1 comments
remisture commented
Seems like xo struggle to parse this. What can I do?
const serviceAccount = await import('../serviceAccount.json', { assert: { type: 'json' } });
"Parsing error: Unexpected token , "
fregante commented
Not an XO issue:
Import attributes are not yet finalized so ESLint does not support them yet.