diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-19 23:18:09 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-19 23:18:09 +0000 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /.rubocop.yml | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) | |
download | gitlab-ce-6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde.tar.gz |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 22 |
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 |