Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Refactor of check_link_to to improve code quality #291
I really love Brakeman (tried to build one myself a couple of years ago, but unfortunately stopped because of time issues), but I saw you where having some code quality issues: https://codeclimate.com/github/presidentbeef/brakeman/Brakeman::CheckLinkTo#duplication . I'd be more then willing to help with this. I've started by reformatting one of the worst offenders (F).
All tests succeed and I tried not to change any business logic while refactoring.