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

pre-commit/mirrors-prettier has been archived #264

Closed
sbidoul opened this issue Jun 27, 2024 · 8 comments · Fixed by #278
Closed

pre-commit/mirrors-prettier has been archived #264

sbidoul opened this issue Jun 27, 2024 · 8 comments · Fixed by #278

Comments

@sbidoul
Copy link
Member

sbidoul commented Jun 27, 2024

The https://github.com/pre-commit/mirrors-prettier repo has been archived without much explanation.

There is some discussion in prettier/prettier#15742

We may need to look for an alternative.

@PabloEForgeFlow
Copy link
Contributor

I was looking at some of the proposed solutions in the discussion, and using local hooks (prettier/prettier#15742 (comment)) seems quite reasonable to me. We would need to pull in all the keys from .pre-commit-hooks.yaml, but I think it's simple enough that it shouldn't be a problem.

We could perhaps do the same for eslint and remove the dependency on the repo, in case something similar happens to it.

@sbidoul
Copy link
Member Author

sbidoul commented Oct 8, 2024

@PabloEForgeFlow that sounds worth trying, yes.

@PabloEForgeFlow
Copy link
Contributor

Good to hear, I'll get something working and do a PR.

We will probably want to update the version for both of them in v18 right? They've both had new major versions with breaking changes (prettier in v3.0.0 and eslint in v9.0.0), so I'm not sure if we should only update to the latest minor version.

@sbidoul
Copy link
Member Author

sbidoul commented Oct 8, 2024

Yes let's use the latest versions in 18. If we don't wait too much, we can still push it to the 18.0 branches. The more we wait, the more we risk making branches red and create trouble for maintainers, though.

@PabloEForgeFlow
Copy link
Contributor

@sbidoul Hey Stéphane, could you take a look at #278?

@sbidoul
Copy link
Member Author

sbidoul commented Oct 10, 2024

Yes yes, it's on my radar 😓

@PabloEForgeFlow
Copy link
Contributor

Yes yes, it's on my radar 😓

Sorry, I didn't mean to pressure you. I thought the notification might have gotten lost among the many things that are going on. 🙇

@sbidoul
Copy link
Member Author

sbidoul commented Oct 10, 2024

No worries :) I made a couple of quick comments, and I'll try to test this week still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants