Help with prettier-plugin-sort-imports
jonlabelle opened this issue · 5 comments
@jonlabelle hello, same question from me. Can't use prettier with https://github.com/trivago/prettier-plugin-sort-imports. Could you please help?
Getting this:
[warn] Ignored unknown option { importOrderSeparation: false }.
[warn] Ignored unknown option { experimentalBabelParserPluginsList: ["jsx"] }.
Originally posted by @isnifer in #239 (comment)
@jonlabelle thanks for the response, it's just enough to add these two lines to any of your project. I think plugin can just ignore unknown config lines and not exit with 0 code
Worked fine for me. Please reference this example project which uses @trivago/prettier-plugin-sort-imports to sort imports.
@jonlabelle actually, confirm. Your example is working. And my project started working when I added prettier as devDependency lmaaao. (I really don't know why I didn't have it)
Thanks
This issue has been automatically locked due to inactivity. Please open a new issue for related bugs.