-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
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
Plugins & tools support for v3 #13616
Comments
The fact that toml plugin is unmainted is a big issue for v3, as TOML if a very popular file format. This makes me wonder if that should not become part of core instead. |
@ssbarnea Looking at the code, I think it should still work for v3. Have you try use it with Prettier v3? (we have released alpha version for v3) |
@fisker I have being using it with v3 alpha in few project, but today i found the first one where it raises an exception, so I had to drop it (had only one TOML file in entire repo). |
would love to see tamasfe/taplo#73 picked up as a replacement, since it seems like the most maintained formatter for toml atm? |
@jasikpark While it might be really good, I really doubt that npm based project like prettier will want to add a rust dependency. Usually tools like this do not go outside their own ecosystem, for good reasons. On the other hand, I would not mind doing some maintenance for revival of the current toml plugin if the project would be adopted under prettier github organization. I have the feeling that the current owner, @bd82 would not mind such a move. @sosukesuzuki @fisker @bd82 What do you think about this? Related: un-ts/toml-tools#43 |
Hello @ssbarnea I would be quite happy to hand-over the TOML plugin... |
another obscure plugin: https://github.com/gregberge/svgr/tree/main/packages/plugin-prettier |
prettier-vscode v9.15.0 that supports Prettier v3 has been released |
also the fork |
prettier-plugin-tailwindcss released a new version that supports prettier v3 https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases/tag/v0.4.0 |
prettier-plugin-organize-imports is already working with prettier v3 |
https://github.com/withastro/prettier-plugin-astro/releases/tag/v0.11.0 |
Though toml plugin is outdated, it still works when using prettier@3. (wow) |
|
https://www.npmjs.com/package/prettier-plugin-organize-attributes |
|
prettier-plugin-toml |
prettier-plugin-ejs >= 0.0.14 supports Prettier v3 |
Most plugins listed already updated, closing now. |
Prettier plugins interface will be breaking changed since v3.
So we need to investigate it works fine for major plugins.
Migration guide is here: https://github.com/prettier/prettier/wiki/How-to-migrate-my-plugin-to-support-Prettier-v3%3F
Plugins
Official Plugins
@prettier/plugin-ruby
@prettier/plugin-pug
@prettier/plugin-php
@prettier/plugin-xml
Community Plugins
prettier-plugin-svelte
prettier-plugin-astro
prettier-plugin-tailwindcss
prettier-plugin-sort-imports
Tools
The text was updated successfully, but these errors were encountered: