prettier icon indicating copy to clipboard operation
prettier copied to clipboard

Use explicit key format when mapping key wraps

Open kovsu opened this issue 3 weeks ago • 2 comments

Description

fix: #10879

Checklist

  • [x] I’ve added tests to confirm my change works.
  • [x] (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • [x] (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • [x] I’ve read the contributing guidelines.

kovsu avatar Nov 27 '25 02:11 kovsu

Open in StackBlitz

yarn add https://pkg.pr.new/@prettier/[email protected]
yarn add https://pkg.pr.new/@prettier/[email protected]
yarn add https://pkg.pr.new/[email protected]

commit: 0c19434

pkg-pr-new[bot] avatar Nov 27 '25 02:11 pkg-pr-new[bot]

Deploy Preview for prettier ready!

Built without sensitive environment variables

Name Link
Latest commit 0c19434b8f72b04a64e3e9e49cac72d4bc33d6ab
Latest deploy log https://app.netlify.com/projects/prettier/deploys/6940bc2ea7c8590008b2ff56
Deploy Preview https://deploy-preview-18330--prettier.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 27 '25 02:11 netlify[bot]

This seems incorrect to me, but stable version, also format like this. Not sure why we don' allow break after :

Prettier pr-18330 Playground link

--parser yaml
--print-width 1

Input:

foo foo foo foo foo foo foo foo foo: 
 bar

Output:

foo foo foo foo foo foo foo foo foo: bar

fisker avatar Dec 16 '25 01:12 fisker