sk- / git-lint

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

Lint only changed lines #111

Closed J0hn5mith closed 6 years ago

J0hn5mith commented 6 years ago

I'm working on a project with very big and very old files. Fixing everything at once is not feasible. Therefore, I rather would like to make sure the code I touch has been fixed. Could you add such a feature?

sk- commented 6 years ago

This is exactly what this tool does, it reports the lint violations of only the changed lines. See the description https://github.com/sk-/git-lint#features.