Skip to content
Snippets Groups Projects
.rubocop_todo.yml 16.02 KiB
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-09-15 00:00:00 UTC using RuboCop version 1.36.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 739
CodeReuse/ActiveRecord:
  Enabled: false

# Offense count: 5
Cop/AvoidReturnFromBlocks:
  Exclude:
    - 'files/gitlab-cookbooks/consul/libraries/consul_helper.rb'
    - 'files/gitlab-ctl-commands-ee/lib/patroni.rb'
    - 'files/gitlab-ctl-commands-ee/lib/postgresql/ee.rb'
    - 'lib/gitlab/tasks/build.rake'

# Offense count: 41
# This cop supports safe autocorrection (--autocorrect).
Cop/LineBreakAroundConditionalBlock:
  Enabled: false

# Offense count: 8
Fips/MD5:
  Exclude:
    - 'config/software/gitlab-geo-psql.rb'
    - 'config/software/gitlab-healthcheck.rb'
    - 'config/software/gitlab-pg-ctl.rb'
    - 'config/software/gitlab-psql.rb'
    - 'config/software/gitlab-redis-cli.rb'
    - 'files/gitlab-cookbooks/gitlab/libraries/helpers/base_pg_helper.rb'
    - 'files/gitlab-cookbooks/gitlab/libraries/rails_migration_helper.rb'
    - 'files/gitlab-ctl-commands/lib/postgresql/password_hash.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Fips/OpenSSL:
  Exclude:
    - 'files/gitlab-cookbooks/letsencrypt/recipes/enable.rb'
    - 'files/gitlab-cookbooks/package/libraries/certificate_helper.rb'

# Offense count: 2
Fips/SHA1:
  Exclude:
    - 'files/gitlab-cookbooks/letsencrypt/recipes/enable.rb'
    - 'files/gitlab-cookbooks/package/libraries/certificate_helper.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
# AllowedMethods: alias_method, public, protected, private
Layout/EmptyLinesAroundAttributeAccessor:
  Exclude:
    - 'files/gitlab-cookbooks/package/libraries/helpers/logging_helper.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
  Exclude:
    - 'files/gitlab-ctl-commands-ee/get_postgresql_primary.rb'

# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
Layout/SpaceAroundMethodCallOperator:
  Exclude: