diff --git a/website/blog/2025-06-23-3.6.0.md b/website/blog/2025-06-23-3.6.0.md index ea6ff6861..ba95bdc84 100644 --- a/website/blog/2025-06-23-3.6.0.md +++ b/website/blog/2025-06-23-3.6.0.md @@ -17,6 +17,20 @@ We're excited to see how these new features enhance your development experience. ## Highlights +### CLI + +#### Support experimental CLI ([#17151](https://github.com/prettier/prettier/pull/17151), [#17396](https://github.com/prettier/prettier/pull/17396) by [@fisker](https://github.com/fisker)) {#change-17151} + +You may have already heard of or used our new [performance improved CLI](https://prettier.io/blog/2023/11/30/cli-deep-dive). From Prettier 3.6, you can now use it without installing unstable v4 version. + +```sh +# Run CLI with `--experimental-cli` +prettier . --check --experimental-cli + +# Or use environment variable `PRETTIER_EXPERIMENTAL_CLI=1` +PRETTIER_EXPERIMENTAL_CLI=1 prettier . --check +``` + ### JavaScript #### Added a new official plugin `@prettier/plugin-oxc` ([#17472](https://github.com/prettier/prettier/pull/17472), [#17483](https://github.com/prettier/prettier/pull/17483) by [@fisker](https://github.com/fisker)) {#change-17472} @@ -73,20 +87,6 @@ For more information, check [the package homepage](https://github.com/prettier/p Many thanks to the Hermes team. -### CLI - -#### Support experimental CLI ([#17151](https://github.com/prettier/prettier/pull/17151), [#17396](https://github.com/prettier/prettier/pull/17396) by [@fisker](https://github.com/fisker)) {#change-17151} - -You may have already heard of or used our new [performance improved CLI](https://prettier.io/blog/2023/11/30/cli-deep-dive). From Prettier 3.6, you can now use it without installing unstable v4 version. - -```sh -# Run CLI with `--experimental-cli` -prettier . --check --experimental-cli - -# Or use environment variable `PRETTIER_EXPERIMENTAL_CLI=1` -PRETTIER_EXPERIMENTAL_CLI=1 prettier . --check -``` - ## Other Changes ### JavaScript