Rubocop for project.disk_path + '.wiki'
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from gitlab-ce!14930 should be addressed:
-
@DouweM started a discussion: (+1 comment) I wonder how hard it would be to write a rubocop that detects new instances of
"#{foo}.wiki"orfoo + ".wiki", and points the developer towards the (obviously superior) helper method.If we don't, I imagine we'll have at least 2 more of these slip in before the end of the year, because not everyone (developers and reviewers) is aware of the
wiki.disk_pathhelper.Wdyt? :)
Edited by 🤖 GitLab Bot 🤖