Skip to content

Conversation

@chenjiahan
Copy link
Member

Align the prettier config with Rspack repo.

Copilot AI review requested due to automatic review settings December 31, 2025 03:28
Copy link

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 simplifies the Prettier configuration to align with the Rspack repository's formatting standards by adopting single quotes as the primary string delimiter.

Key changes:

  • Updated .prettierrc to use single quotes (singleQuote: true)
  • Reformatted all test files to use single quotes instead of double quotes
  • Standardized indentation from tabs to 2 spaces throughout test files

Reviewed changes

Copilot reviewed 51 out of 136 changed files in this pull request and generated no comments.

File Description
.prettierrc Simplified configuration to only specify singleQuote: true
tests/e2e/*.test.js Reformatted with single quotes and consistent 2-space indentation
tests/ansiHTML.test.ts Applied single quote formatting
src/patch.ts Updated string literals to use single quotes

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

@chenjiahan chenjiahan merged commit ed50e4d into main Dec 31, 2025
4 checks passed
@chenjiahan chenjiahan deleted the prettier_1231 branch December 31, 2025 03:40
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.

2 participants