You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove usage of deprecated npm install option --ignore-prepublish #3517
currently, running installation of, say, markdownlint-cli raises the following warning in Gitlab-CI: Unknown cli config "--ignore-prepublish". This will stop working in the next major version of npm.
What is requested
In pre_commit/languages/node.py, the --ignore-prepublish option shall be either removed, or activable on a per-project basis if backward compatibility is somehow necessary (I know nothing about Node applications).
Some additional thoughts, here since I could find no other relevant place
I understand that non-actionable issues shall be closed. But closing #3516 without any way to improve/clarify the request or even only to comment is rude, considering preparation of such an issue takes time and tries to bring value to this project. Please consider allowing some delay before disallowing comments.
pre-commit --version
4.2.0
Reacted by Paweł Cisło, hlovdal, Raphael Rösch, Patrick Marx, Johannes Wienke and Birger Johan Nordølum
I understand that non-actionable issues shall be closed. But closing #3516 without any way to improve/clarify the request or even only to comment is rude, considering preparation of such an issue takes time and tries to bring value to this project. Please consider allowing some delay before disallowing comments.
I mean your output literally said "report this to npm" and you decided to open the issue here? your issue was off topic to begin with, unhelpful (and far from "bringing value to the project"), and did not deserve further discussion.
yes I locked it there was nothing more to discuss if you think that's rude you may want to adjust your expectations of what you're entitled to in open source
The comment at the bottom is not about the technical content of the first issue I opened today. It only proposes a way to handle exchange between humans, in a way that seems acceptable to me, hoping this would be a shared point of view.
This issue is about updating pre-commit call to npm install, by removing a deprecated option.
After npm logs retrieval, it appears that the npm error is not raised due to the highlighted warning, which was not obvious from the recorder stderr. So I updated the issue description to be more specific.
Activity
asottile commentedon Aug 19, 2025
I mean your output literally said "report this to npm" and you decided to open the issue here? your issue was off topic to begin with, unhelpful (and far from "bringing value to the project"), and did not deserve further discussion.
yes I locked it there was nothing more to discuss if you think that's rude you may want to adjust your expectations of what you're entitled to in open source
ojob commentedon Aug 19, 2025
The comment at the bottom is not about the technical content of the first issue I opened today. It only proposes a way to handle exchange between humans, in a way that seems acceptable to me, hoping this would be a shared point of view.
This issue is about updating
pre-commitcall tonpm install, by removing a deprecated option.asottile commentedon Aug 19, 2025
then don't clutter this issue with your unnecessary commentary
ojob commentedon Aug 20, 2025
After npm logs retrieval, it appears that the npm error is not raised due to the highlighted warning, which was not obvious from the recorder stderr. So I updated the issue description to be more specific.
pyxelr commentedon Oct 24, 2025
asottile commentedon Oct 24, 2025
you're seeing a warning like the original post. but that is just a warning. warnings are not fatal.
➕ Add ;pre-commitrunskipmarkdownlint
languitar commentedon Jul 13, 2026
This is now an actual error:
chore: Update pre-commit hooks
chore: Update pre-commit hooks
chore: Update pre-commit hooks
chore: Update pre-commit hooks