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:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml22
1 files changed, 3 insertions, 19 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 8ddd5087bb7..7fe3fc35b66 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -44,7 +44,7 @@ AllCops:
- 'db/ci_migrate/*.rb' # since the `db/ci_migrate` is a symlinked to `db/migrate`
# Use absolute path to avoid orphan directories with changed workspace root.
CacheRootDirectory: <%= Dir.getwd %>/tmp
- MaxFilesInCache: 30000
+ MaxFilesInCache: 35000
Metrics/ParameterLists:
Exclude:
@@ -566,21 +566,8 @@ Graphql/Descriptions:
RSpec/ImplicitSubject:
Enabled: false
-RSpec/DescribedClass:
- Enabled: false
-
-RSpec/SharedExamples:
- Enabled: false
-
-RSpec/EmptyLineAfterExampleGroup:
- Enabled: false
-
-RSpec/ReceiveNever:
- Enabled: false
-
-RSpec/MissingExampleGroupArgument:
- Enabled: false
-
+# Already covered by `RSpec::Configuration#on_potential_false_positives = :raise`.
+# See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/86429
RSpec/UnspecifiedException:
Enabled: false
@@ -612,9 +599,6 @@ Style/MultilineWhenThen:
Style/NumericPredicate:
EnforcedStyle: comparison
-Style/FloatDivision:
- Enabled: false
-
Cop/BanCatchThrow:
Enabled: true