Last active
June 6, 2023 16:23
-
-
Save Lockyy/e8b27420b4ac094b1c004712449f473b to your computer and use it in GitHub Desktop.
Run Reek on files that've changed in Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
reek --force-exclusion "$@" $(git status --porcelain | sed s/^...//) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I should consider using something like
git diff --name-only --diff-filter=d develop...
to diff off of develop for this. So that I can see issues with my whole branch rather than just the current staging area.Would be good if it was off of the parent branch rather than just develop however.