sk- / git-lint

improving source code one step at a time
Apache License 2.0
236 stars 78 forks source link

Invalidate cache if linter path or arguments change (#19) #128

Open siebert opened 6 years ago

siebert commented 6 years ago

The cache is not invalidated if the arguments (or path) of the linter program changes. To fix this I change the path where the cached data is stored. A sha256 hex hash value is appended of the linter name, which is created by hashing the linter program name and arguments.

siebert commented 5 years ago

@sk- Can you review the current patch again?