Enabling the Node.js compile cache should reduce startup overhead, could shave tens of milliseconds off repeated runs after the first. The benefit for lint-staged is most noticeable for short "no-op" or small-change commits; for linter-heavy runs it’s negligible.
Docs: https://nodejs.org/api/module.html#moduleenablecompilecachecachedir
Enabling the Node.js compile cache should reduce startup overhead, could shave tens of milliseconds off repeated runs after the first. The benefit for lint-staged is most noticeable for short "no-op" or small-change commits; for linter-heavy runs it’s negligible.
Docs: https://nodejs.org/api/module.html#moduleenablecompilecachecachedir