Sha256: 0e6bb641b6659d837edd5509e0b43455d72d6b05aec9bea2f31a52f3a09e57f8

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

inherit_from:
  - rubocop-all.yml
  - rubocop-minimal.yml
  - rubocop-internal-affairs.yml
  - .rubocop_todo.yml

require:
  - rubocop/cop/internal_affairs
  - rubocop-rake

inherit_mode:
  merge:
    - Exclude

AllCops:
  NewCops: disable # https://gitlab.com/gitlab-org/ruby/gems/gitlab-styles/-/issues/40
  Exclude:
    - 'playground/**/*'

Gemspec/DevelopmentDependencies:
  EnforcedStyle: gemspec
  Enabled: true

InternalAffairs/DeprecateCopHelper:
  Enabled: true
  Include:
    - spec/**/*.rb

# This only makes sense for cops that are included with RuboCop. We could add
# our own config/default.yml and do something like
# https://github.com/rubocop/rubocop-rspec/blob/master/lib/rubocop/rspec/inject.rb,
# but realistically this is OK here.
InternalAffairs/UndefinedConfig:
  Enabled: false

# Disable Rails-specific cops auto-enabled as part of `gitlab-styles`.
CodeReuse/ActiveRecord:
  Enabled: false

Cop/ActiveRecordDependent:
  Enabled: false

Cop/ActiveRecordSerialize:
  Enabled: false

Cop/PolymorphicAssociations:
  Enabled: false

Cop/RedirectWithStatus:
  Enabled: false

Cop/InBatches:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gitlab-styles-13.0.1 .rubocop.yml
gitlab-styles-13.0.0 .rubocop.yml