From 90156f527b43a15e794c3351ecfc59aff42c440a Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 12 Aug 2020 06:09:53 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .rubocop.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 9fb46e87c34..6529fc88e1e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -443,6 +443,11 @@ RSpec/HaveGitlabHttpStatus: Style/MultilineWhenThen: Enabled: false +# We use EnforcedStyle of comparison here due to it being better +# performing code as seen in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36221#note_375659681 +Style/NumericPredicate: + EnforcedStyle: comparison + Style/FloatDivision: Enabled: false -- cgit v1.2.3