Skip to content

Consider enabling Node.js module compile cache #1658

Description

@outslept

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions