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
Having a commented out import causes prettier --check to fail after upgrading @trivago/prettier-plugin-sort-imports to 5.2.1. This worked fine in 4.3.0
Example code:
import {
a,
b, // c,
d
} from './imports.mjs';
To Reproduce
I have a Code Sandbox with a repro. Just follow the instructions in the README.md file.
Expected behavior
I would expect prettier --check to pass as it did in v4.
$ prettier --check .
Checking formatting...
[warn] index.mjs
[warn] Code style issues found in the above file. Run Prettier with --write to fix.
error Command failed with exit code 1.
Contribute to @trivago/prettier-plugin-sort-imports
I'm willing to fix this bug 🥇
The text was updated successfully, but these errors were encountered:
Your Environment
Describe the bug
Having a commented out import causes
prettier --check
to fail after upgrading@trivago/prettier-plugin-sort-imports
to5.2.1
. This worked fine in4.3.0
Example code:
To Reproduce
I have a Code Sandbox with a repro. Just follow the instructions in the
README.md
file.Expected behavior
I would expect
prettier --check
to pass as it did in v4.Screenshots, code sample, etc
See Code Sandbox link above.
Configuration File (cat .prettierrc, prettier.config.js, .prettier.js)
See
.prettierrc.json
in the Code Sandbox:Error log
Contribute to @trivago/prettier-plugin-sort-imports
The text was updated successfully, but these errors were encountered: