We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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": {} } }
The text was updated successfully, but these errors were encountered:
I do have the same problem, has anyone a solution for this?
Sorry, something went wrong.
Greetings,
we are running into the same issue. Did you manage to find a solution for this?
Best Regards Mydayyy
No branches or pull requests
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: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.The text was updated successfully, but these errors were encountered: