Facing similar issue on Windows with nano-staged (specifically, receiving a 'command line is too long' when running nano-staged pre-commit hooks w/a large number of files).
lint-staged v10 allegedly fixes this issue by batching / parallelizing the list of files into chunks.
Clear and concise description of the problem
https://github.com/okonet/lint-staged/issues/147
Facing similar issue on Windows with nano-staged (specifically, receiving a 'command line is too long' when running nano-staged pre-commit hooks w/a large number of files).
lint-staged v10 allegedly fixes this issue by batching / parallelizing the list of files into chunks.
Suggested solution
batch, https://github.com/okonet/lint-staged/issues/147#issuecomment-294473232
Alternative
No response
Additional context
No response