Closed hrqmonteiro closed 1 year ago
In prettier 3.0, prettier no longer auto-searches for plugins, so you must directly mention them
https://prettier.io/docs/en/plugins.html#using-plugins
add
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
to your config
Yep, exactly. We should probably make a note of it in the readme.
Your Environment
Describe the bug
Doesn't work when using the yaml format for the prettier config?
.prettierrc.yml
To Reproduce
Just trying to run prettier and the plugin doesn't recognize any option
Expected behavior
To run fine
Screenshots, code sample, etc
Configuration File (cat .prettierrc, prettier.config.js, .prettier.js)
Error log