Skip to content

cache files (.eslintcache) on save #1844

@scarf005

Description

@scarf005

previous issues: #1323, #1544

the plugin uses eslint.lintText which does not support caching on onType and onSave. would it be possible to use eslint.lintFiles on onSave instead? using cache could improve performance of eslint on pre-commit hooks (e.g husky and lint-staged) significantly.

i'm interested in opening a PR, however pointers on where to look at would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions