Skip to content

Check comment tags only in modified lines #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AFulgens opened this issue Mar 4, 2024 · 0 comments
Open

Check comment tags only in modified lines #7

AFulgens opened this issue Mar 4, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@AFulgens
Copy link
Contributor

AFulgens commented Mar 4, 2024

Context

no-todos currently checks the whole content of files being committed.

Idea

It would be nice to have a flag (even as default?) to check only the modified lines, not the whole file. Thus, modifications to a file which contains a TODO in an unrelated part still could be committed without exlcuding the hook.

@AFulgens AFulgens added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed and removed help wanted Extra attention is needed good first issue Good for newcomers labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Backlog
Development

No branches or pull requests

1 participant