Some weeks ago I tried out the RailsBestPractices hook with Overcommit to no avail. I opened an issue to ask about my problem, and it turns out it may be related to how rails_best_practices expect explicit files to be passed. However, I still have not found the cause of the problem.
I tried running this (which is what overcommit ends up running to my understanding):
And this works perfectly (by this I mean it detectes warnings in those two files correctly), so I don't really know what could be going wrong with that.
Hey there!
Some weeks ago I tried out the RailsBestPractices hook with Overcommit to no avail. I opened an issue to ask about my problem, and it turns out it may be related to how rails_best_practices expect explicit files to be passed. However, I still have not found the cause of the problem.
I tried running this (which is what overcommit ends up running to my understanding):
And this works perfectly (by this I mean it detectes warnings in those two files correctly), so I don't really know what could be going wrong with that.
Can anyone give me a hand with this? Thanks!