Open deeyonn opened 11 months ago
Hi, I searched the repo for matching keywords regarding my request and can't find any matches so I'm posting this issue here.
I'm trying to run this statement in my nodejs project:
import config from "./config.js" assert { type: "json" };
and I'm getting an error with sort-imports, the error is:
sort-imports
This experimental syntax requires enabling the parser plugin 'importAssertions'
May i know how to resolve this?
I've tried adding this to my package.json but it does not resolve the issue.
package.json
"importSort": { ".js, .jsx, .es6, .es": { "parser": "babylon", "style": "eslint", "options": {} }, ".ts, .tsx": { "parser": "typescript", "style": "eslint", "options": {} } }
I do have the same problem, has anyone a solution for this?
Greetings,
we are running into the same issue. Did you manage to find a solution for this?
Best Regards Mydayyy
Hi, I searched the repo for matching keywords regarding my request and can't find any matches so I'm posting this issue here.
I'm trying to run this statement in my nodejs project:
and I'm getting an error with
sort-imports
, the error is:May i know how to resolve this?
I've tried adding this to my
package.json
but it does not resolve the issue.