Sha256: 8ebe59787c51e5cff82d7ed33ea5b70d13ccf91d902bccfb099c60d30790cb2e

Contents?: true

Size: 1.32 KB

Versions: 20

Compression:

Stored size: 1.32 KB

Contents

inherit_gem:
  gitlab-styles:
    - rubocop-default.yml

inherit_from:
  <% unless ENV['REVEAL_RUBOCOP_TODO'] == '1' %>
  - '.rubocop_todo.yml'
  <% end %>

AllCops:
  # The oldest supported Ruby version.
  TargetRubyVersion: 3.1
  Exclude:
    - 'vendor/**/*'
    - 'tmp/**/*'
    - 'bin/**/*'
  # Use absolute path to avoid orphan directories with changed workspace root.
  CacheRootDirectory: <%= Dir.getwd %>/tmp
  MaxFilesInCache: 1_000_000
  NewCops: enable

CodeReuse/ActiveRecord:
  Enabled: false

Gemspec/RequiredRubyVersion:
  Enabled: false

Gemspec/RequireMFA:
  Enabled: false

Lint/HashCompareByIdentity:
  Enabled: true

Lint/RedundantSafeNavigation:
  Enabled: true

Style/ClassEqualityComparison:
  Enabled: true

Lint/ShadowingOuterLocalVariable:
  Enabled: false

Metrics/AbcSize:
  Max: 18

Metrics/MethodLength:
  Max: 20

Rails:
  Enabled: false

Style/ModuleFunction:
  Enabled: false

Style/SignalException:
  Enabled: false

Layout/LineLength:
  Max: 180

Layout/SpaceBeforeFirstArg:
  Enabled: false

RSpec/MultipleMemoizedHelpers:
  Enabled: false

# Short-hand Hash syntax does not work prior 3.1.
# See https://gitlab.com/gitlab-org/gitlab/-/issues/435940#note_1703307479
Style/HashSyntax:
  EnforcedShorthandSyntax: never

# Anonymous block forwarding does not work prior 3.1.
Naming/BlockForwarding:
  Enabled: false

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
gitlab_quality-test_tooling-2.5.0 .rubocop.yml
gitlab_quality-test_tooling-2.4.0 .rubocop.yml
gitlab_quality-test_tooling-2.3.0 .rubocop.yml
gitlab_quality-test_tooling-2.2.0 .rubocop.yml
gitlab_quality-test_tooling-2.1.0 .rubocop.yml
gitlab_quality-test_tooling-2.0.0 .rubocop.yml
gitlab_quality-test_tooling-1.39.0 .rubocop.yml
gitlab_quality-test_tooling-1.38.1 .rubocop.yml
gitlab_quality-test_tooling-1.38.0 .rubocop.yml
gitlab_quality-test_tooling-1.37.0 .rubocop.yml
gitlab_quality-test_tooling-1.36.0 .rubocop.yml
gitlab_quality-test_tooling-1.35.0 .rubocop.yml
gitlab_quality-test_tooling-1.34.0 .rubocop.yml
gitlab_quality-test_tooling-1.33.0 .rubocop.yml
gitlab_quality-test_tooling-1.32.1 .rubocop.yml
gitlab_quality-test_tooling-1.32.0 .rubocop.yml
gitlab_quality-test_tooling-1.31.0 .rubocop.yml
gitlab_quality-test_tooling-1.30.0 .rubocop.yml
gitlab_quality-test_tooling-1.29.1 .rubocop.yml
gitlab_quality-test_tooling-1.29.0 .rubocop.yml