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
If you are submitting a bug, please include the following:
summary of problem
gradle or maven version: Gradle
spotless version: 6.21.0
operating system and version: Ubuntu 22.04
Hello, Prettier v3.x changed the way it load plugins. Now plugins are not loaded by default anymore, instead users have to manually pass a --plugin=prettier-plugin-name, or configure it in a configuration file via plugins: ['prettier-plugin-name'].
I tried something like this to see if it would work:
If you are submitting a bug, please include the following:
Hello, Prettier v3.x changed the way it load plugins. Now plugins are not loaded by default anymore, instead users have to manually pass a
--plugin=prettier-plugin-name
, or configure it in a configuration file viaplugins: ['prettier-plugin-name']
.I tried something like this to see if it would work:
But gave me the error:
Am I missing something? I saw prettier v3 support was added in #1760, but I didn't see any noticeable docs updates about the plugin loading changes.
Note, just by doing
The following error happens:
Which is why I tried to go the manual plugin loading route.
The text was updated successfully, but these errors were encountered: