Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

pre-commit hook #529

Closed Answered by ljharb
Niccolum asked this question in Registry
Aug 15, 2021 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

You can already do that by invoking npm audit in your git hook - what would you imagine npm would do that’s different?

Note that it’s very very dangerous for tools to automatically write stuff to git hooks; there’s a reason why you can’t use git to commit an activated git hook.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Niccolum
Comment options

@ljharb
Comment options

@Niccolum
Comment options

@ljharb
Comment options

@Niccolum
Comment options

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