Skip to content
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

chore: upgrade to Prettier v3 #932

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Sep 27, 2024

Checks

Changes

  • Upgrades Prettier to v3
  • Removes unused eslint-plugin-prettier
  • Rewrites tools/generate-configs to be async

Context

Prettier v3 removes its sync API, so to upgrade we now have to use promises

Relates to #826 and #855

@G-Rath G-Rath mentioned this pull request Sep 27, 2024
8 tasks
Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.32%. Comparing base (93a6ab9) to head (65ef66e).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #932      +/-   ##
==========================================
+ Coverage   96.23%   96.32%   +0.08%     
==========================================
  Files          44       44              
  Lines        2419     2449      +30     
  Branches     1000     1019      +19     
==========================================
+ Hits         2328     2359      +31     
+ Misses         91       90       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -1,4 +1,5 @@
module.exports = {
trailingComma: 'es5',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: in v3 the default changes to "all"

I've locked this to the v2 default to reduce the diff in this pull request since as an option it will be very easy to do a follow-up PR switching this default if desired

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