-
-
Notifications
You must be signed in to change notification settings - Fork 427
Update Prettier extension and version #1774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Changed VSCode Prettier extension to 'prettier.prettier-vscode' and updated Prettier dependency to version 3.7.3. Also refined the Prettier script to target specific file types for formatting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the Prettier VS Code extension to the official one, bumps the Prettier dependency to a newer patch version, and refines the Prettier npm script. The changes are generally good and improve project maintenance. I've found one area for improvement in the package.json file where the Prettier script's file glob could be more comprehensive to include all relevant file types in the project, such as TypeScript and HTML files. I've left a specific suggestion to address this.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1774 +/- ##
===========================================
+ Coverage 96.99% 100.00% +3.00%
===========================================
Files 2 1 -1
Lines 1628 1 -1627
Branches 335 0 -335
===========================================
- Hits 1579 1 -1578
+ Misses 49 0 -49 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
There was a problem hiding this 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 updates the Prettier tooling configuration by switching from the deprecated esbenp.prettier-vscode extension to the official prettier.prettier-vscode extension, upgrades Prettier from version 3.7.0 to 3.7.3, and refines the prettier script to explicitly target specific file types instead of formatting all files.
- Updated VSCode Prettier extension identifier to the official extension
- Upgraded Prettier dependency from 3.7.0 to 3.7.3
- Modified prettier script to explicitly list file types for formatting
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updated Prettier version to 3.7.3 and refined prettier script with explicit file type patterns |
| package-lock.json | Updated Prettier package lock entries to match version 3.7.3 |
| .vscode/settings.json | Changed default formatter to official Prettier extension identifier |
| .vscode/extensions.json | Updated recommended extension to official Prettier extension |
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Changed VSCode Prettier extension to 'prettier.prettier-vscode' and updated Prettier dependency to version 3.7.3. Also refined the Prettier script to target specific file types for formatting.