From 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 19 Sep 2022 23:18:09 +0000 Subject: Add latest changes from gitlab-org/gitlab@15-4-stable-ee --- .rubocop.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to '.rubocop.yml') 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 -- cgit v1.2.3