Skip to content

chore: use prettier's performance improved CLI#6489

Merged
chenjiahan merged 1 commit intomainfrom
prettier_faster_1103
Nov 3, 2025
Merged

chore: use prettier's performance improved CLI#6489
chenjiahan merged 1 commit intomainfrom
prettier_faster_1103

Conversation

@chenjiahan
Copy link
Member

Summary

Switch to prettier's performance improved CLI to make CI faster.

Before

Screenshot 2025-11-03 at 11 54 58

After

Screenshot 2025-11-03 at 11 56 41

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings November 3, 2025 04:03
@netlify
Copy link

netlify bot commented Nov 3, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit eaf9c96
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6908297f8af89c000877a59c
😎 Deploy Preview https://deploy-preview-6489--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 67 (🟢 up 6 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables Prettier's experimental CLI by adding the --experimental-cli flag to all Prettier commands across the project's formatting scripts and git hooks configuration.

Key Changes

  • Updated the format script in package.json to use --experimental-cli flag
  • Updated the nano-staged configuration to use --experimental-cli flag for all file formatting hooks
  • Fixed missing newline at end of App.vue file

Reviewed Changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Added --experimental-cli flag to all Prettier command invocations in scripts and nano-staged configuration
e2e/cases/plugin-vue/sfc-build-error/src/App.vue Fixed missing newline at end of file (formatting fix)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan merged commit 36145cc into main Nov 3, 2025
18 checks passed
@chenjiahan chenjiahan deleted the prettier_faster_1103 branch November 3, 2025 04:40
@chenjiahan chenjiahan mentioned this pull request Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant