Work around RubyMine usability/productivity problems related to RuboCop Gitlab/NamespacedClass cop
What does this MR do and why?
This MR is related to the remaining unfixed Gitlab/NamespacedClass
cop warnings and their interaction with the REVEAL_RUBOCOP_TODO
functionality you added in !53162 (diffs)
In the RubyMine IDE, there's no way to selectively disable individual cops for the RuboCop plugin, which results in every single model
and lib
class having every line of the entire file underlined as an error.
This is not only hard to read, it masks all other warnings and errors within the class. Example:
Example of visual usability problems and masked warnings:
![](/-/project/278964/uploads/b04a32d258bbb840e9ebb5b1dc84110e/Screen_Shot_2022-06-08_at_2.26.59_PM.png)
How to set up and validate locally
Open lib/gitlab/fips.rb
in RubyMine, see that the visual problems no longer exist.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.