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

Fix prettier==3 and eslint-plugin-prettier==4 incompatibility #633

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

christophebedard
Copy link
Member

@christophebedard christophebedard commented Dec 1, 2023

We're getting this error when running npm run lint:

TypeError: prettier.resolveConfig.sync is not a function

Apparently, prettier==3 and eslint-plugin-prettier==4 are not compatible; we need to bump to eslint-plugin-prettier==5: https://stackoverflow.com/a/76625797/6476709.

Also, regenerate the dist file.

@christophebedard christophebedard self-assigned this Dec 1, 2023
@christophebedard christophebedard requested a review from a team as a code owner December 1, 2023 18:35
@christophebedard christophebedard requested review from gbiggs and MichaelOrlov and removed request for a team December 1, 2023 18:35
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7293e28) 92.47% compared to head (35ad5d8) 92.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #633   +/-   ##
=======================================
  Coverage   92.47%   92.47%           
=======================================
  Files           8        8           
  Lines         186      186           
  Branches       22       22           
=======================================
  Hits          172      172           
  Misses         14       14           

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

Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
@christophebedard christophebedard changed the title Update dist file Fix prettier==3 and eslint-plugin-prettier==4 incompatibility Dec 1, 2023
@christophebedard
Copy link
Member Author

This fixes the linter job, so I'll merge this.

@christophebedard christophebedard merged commit 16ca519 into master Dec 1, 2023
18 of 19 checks passed
@christophebedard christophebedard deleted the christophebedard/update-dist-file branch December 1, 2023 19:00
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