Skip to content

Skip Lint/BinaryOperatorWithIdenticalOperands in JH

MAO Chao requested to merge gitlab-jh/jh-team/gitlab:skip-jh-rubocop-rule into master

What does this MR do and why?

In Jihu codebase, when we use table syntax in rspec, we will have rubocop issue, like below

image

This is because in rubocop config, we didn't skip jh rspec, like below image

JH developers have to add # rubocop:disable Lint/BinaryOperatorWithIdenticalOperands every time when we have the rubocop issue, it is bad. So I think we can tweak this rubocp config a little bit to save time for JH developers.

Merge request reports

Loading