Sha256: c2f22e54de1426ec136dc6c5d083b9f4264cba30132081be729b3ef0423c541e

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

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

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

AllCops:
  # Target the current Ruby version. For example, "2.7" or "3.0".
  TargetRubyVersion: <%= RUBY_VERSION[/^\d+\.\d+/, 0] %>
  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

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/SpaceBeforeFirstArg:
  Enabled: false

RSpec/MultipleMemoizedHelpers:
  Enabled: false

CodeReuse/ActiveRecord:
  Exclude:
    - 'spec/**/*_spec.rb'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab_quality-test_tooling-0.1.0 .rubocop.yml