it would be awesome to allow tasks to be run in parallel to speed things up. perhaps something like:
config :git_hooks,
hooks: [
pre_commit: [
tasks: [
{:parallel, [
{:serial, [
{:mix_task, :format, ["--check-formatted"]},
{:mix_task, :test},
]},
{:serial, [
{:cmd, "npm run lint-staged --prefix infrastructure"},
{:cmd, "npm test --prefix infrastructure"}
]}
]}
]
]
]