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
importOrder
importOrderSeparation
Your Environment
Describe the bug
After updating to prettier v3 it throws warnings.
To Reproduce
Install latest version of prettier-plugin-sort-imports and prettier v3
prettier-plugin-sort-imports
Expected behavior
No warning is thrown and plugin works as expected.
Configuration File (cat .prettierrc, prettier.config.js, .prettier.js)
.prettierrc
{ "trailingComma": "es5", "tabWidth": 2, "importOrder": ["^[./]"], "importOrderSeparation": true }
Error log
Checking formatting... [warn] Ignored unknown option { importOrder: ["^[./]"] }. [warn] Ignored unknown option { importOrderSeparation: true }. ...
Contribute to @trivago/prettier-plugin-sort-imports
I am but would need support
The text was updated successfully, but these errors were encountered:
Switching from .prettierrc to .prettierrc.js like suggested in #131 (comment) works for me. Closing this :P
.prettierrc.js
Sorry, something went wrong.
This is bad... Can you alteast mention that this plugin does not work with .prettierrc?
Lost a lot of time because of this. We removed the plugin.
@escapedcat Just arrived to this thread. This is not a fix if you use ESM unfortunately :/
No branches or pull requests
Your Environment
Describe the bug
After updating to prettier v3 it throws warnings.
To Reproduce
Install latest version of
prettier-plugin-sort-imports
and prettier v3Expected behavior
No warning is thrown and plugin works as expected.
Configuration File (cat .prettierrc, prettier.config.js, .prettier.js)
.prettierrc
Error log
Contribute to @trivago/prettier-plugin-sort-imports
I am but would need support
The text was updated successfully, but these errors were encountered: