Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@seiyab
Copy link
Collaborator

@seiyab seiyab commented Nov 28, 2025

Description

Closes #8201, closes #4460, closes #4604, closes #5886, closes #6250

Checklist

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 28, 2025

Open in StackBlitz

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

commit: 6562d3d

@netlify
Copy link

netlify bot commented Nov 28, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 6562d3d
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/692a9bf5051c0d00084b1f67
😎 Deploy Preview https://deploy-preview-18358--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.

@seiyab seiyab force-pushed the add-resolved-test-cases branch from 2ddf655 to fd13789 Compare November 28, 2025 13:42
@seiyab
Copy link
Collaborator Author

seiyab commented Nov 28, 2025

I consider #4460 (comment) is different problem from #4460. #4460 was caused by invalid use of fill() and it was resolved by correcting fill() usage. Created #18360.

@@ -1,2 +1,3 @@
level1/level2/
level1-glob/**/level3-glob/*.js
α-shouldNotBeFormat.js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#6250 Seems talking about ignoring dir, but file inside not ignored.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add another dir to test?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember we have a dir about special characters, maybe put there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignored directory is ignored. ignored/中文.js is a unicode character file in an ignored directory.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add another file with α in name and revert fd13789

.class {
flex-direction: column\${long_cond && long_cond && long_cond
? "-reverse"
: ""};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ternary is ugly

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raised #18369

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I missed to comment it. I consider ugly format is different problem from breaking CSS rule.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I didn't ask you to solve 😄

Copy link
Member

@fisker fisker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking care of these old issues!

@fisker fisker merged commit 9266e3e into prettier:main Nov 29, 2025
33 checks passed
@seiyab seiyab deleted the add-resolved-test-cases branch November 29, 2025 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment