usmanyunusov / nano-staged

Tiny tool to run commands for modified, staged, and committed files in a GIT repository.
https://npm.im/nano-staged
MIT License
415 stars 12 forks source link

Batched linting #25

Open jemccarthy13 opened 2 years ago

jemccarthy13 commented 2 years ago

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

usmanyunusov commented 2 years ago

@jemccarthy13 thanks! I'll take a look soon

oceandrama commented 1 year ago

@usmanyunusov Hi! Any updates on this? This is the only one blocker to use this library instead of lint-staged