Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-12 09:09:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-12 09:09:53 +0300
commit90156f527b43a15e794c3351ecfc59aff42c440a (patch)
treea59318246adf4297b3911f442b6a789fd38d35a6 /.rubocop.yml
parent737684a392db1178770ad5b1d20b64386aadcac5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
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