You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first I thought it was the same issue as #168 and #156, but I tried with workarounds recommended in both of those issues and the issue was still present.
Your Environment
Describe the bug
After executing
npx prettier src/types/global.d.ts
the following error appears:As the error says, the line that causes the issue is
At first I thought it was the same issue as #168 and #156, but I tried with workarounds recommended in both of those issues and the issue was still present.
I tried with #168 (comment) and with #156 (comment) but neither of them worked.
To Reproduce
Create a new typescript file with the following body:
Execute the following commands:
npm i -D prettier @trivago/prettier-plugin-sort-imports npx prettier file.ts --plugin='@trivago/prettier-plugin-sort-imports'
The error message must be displayed.
Expected behavior
The file should be formatted without displaying any error.
Screenshots, code sample, etc
Configuration File (cat .prettierrc, prettier.config.js, .prettier.js)
As with the reproduction steps I am not using any configuration file in the reproduction.
Error log
Contribute to @trivago/prettier-plugin-sort-imports
The text was updated successfully, but these errors were encountered: