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.
previous issues: #1323, #1544
the plugin uses
eslint.lintTextwhich does not support caching ononTypeandonSave. would it be possible to useeslint.lintFilesononSaveinstead? 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.