paleite / eslint-plugin-diff

Run ESLint on your changes only
https://npm.im/eslint-plugin-diff
MIT License
173 stars 13 forks source link

Fixing performance issues caused by exessive use of spawn_child #3

Closed DaVarga closed 3 years ago

DaVarga commented 3 years ago

Hey, to fix the Problem mentioned in issue #2 i implemented memoization for the git getDiffForFile function. also added a preprocess function to basicly excludes files from linting which are untouched.

Tests are updated.