mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-03 05:49:14 -05:00
added node hooks setup and jshint
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
|
||||
def run_hook(env, hook, file_args):
|
||||
return env.run(
|
||||
' '.join([hook['entry']] + hook.get('args', []) + list(file_args)),
|
||||
retcode=None,
|
||||
)
|
||||
Reference in New Issue
Block a user