What is the current situation regarding pre-commit? #16227
Replies: 7 comments 1 reply
-
I hadn't spotted that @TimeTravelPenguin, thanks for identifying. I too always use |
Beta Was this translation helpful? Give feedback.
-
I was promulgating
Private-life-me opened #15696, but my intent certainly was not to get Prettier to be delisted from pre-commit. Prettier is also not listed in the supported hooks, and I certainly don't consider
Prettier is just too useful, and it's especially useful in pre-commit. Suggestions on how to use it from the shell with pre-commit would be useful, as would an official Docker image. |
Beta Was this translation helpful? Give feedback.
-
Here someone pointed out a fork of the archived mirror https://github.com/rbubley/mirrors-prettier Maybe the prettier org can adopt the mirror? |
Beta Was this translation helpful? Give feedback.
-
There isn't much infomation about this situation on https://pre-commit.com/ or any of its README. Also, there isn't much original issue links from asottile, who archived pre-commit's prettier plugin. I fear many of them are unavailable after the https://github.com/pre-commit/mirrors-prettier repo is archived. His idea about this might also be lost, and buried under all those "duplicate, try search harder next time" replies. But anyway, here is some of the issues about version / releases of the pre-commit mirrors, including the faulty
Duplicates
|
Beta Was this translation helpful? Give feedback.
-
I created a pre-commit mirror that solves the issue with not working pre-commit plugins in version 3 and later. |
Beta Was this translation helpful? Give feedback.
-
I used to use prettier for python projects as well. Why not to add support for pre-commit tool to this repo directly? |
Beta Was this translation helpful? Give feedback.
-
Maybe target |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have always used prettier with pre-commit in my Python projects for files such as markdown, XML, and so on.
I just found that mirrors-prettier has recently been archived, even though the prettier website still suggests it as an option.
Is there an alternative, workaround, or other means to keep my projects functioning?
What versions of prettier are still compatible? And lastly, are there currently any replacements currently in development?
Beta Was this translation helpful? Give feedback.
All reactions