Feature: Only check changed hunks
Josh Soref edited this page Feb 25, 2024
·
2 revisions
Some workflows would like to be able to only send feedback to contributors about the changes they're making as opposed to preexisting unrecognized content.
As of v0.0.21, you can use only_check_changed_files: true
to limit spell checking to changed files.
It should be fairly easy to use the equivalent of git blame BASE..HEAD -- file
to identify which line numbers should be checked and only check them.
(It's possible the implementation will use porcelain output as opposed to actually using the naive git blame BASE..HEAD
, but that's a minor implementation detail.)