Sha256: f4e18cca2901c605f7fe6f3903f0e5f0ac653774738ebef5db14085b8946e660

Contents?: true

Size: 926 Bytes

Versions: 1

Compression:

Stored size: 926 Bytes

Contents

inherit_from: .rubocop_todo.yml

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

AllCops:
  TargetRubyVersion: <%= RUBY_VERSION[/^\d+\.\d+/, 0] %>
  NewCops: enable

# Disables Rails cops.
Rails:
  Enabled: false

# Disables Rails-related cops
CodeReuse/ActiveRecord:
  Enabled: false

Layout/LineLength:
  Enabled: false

RSpec/MultipleMemoizedHelpers:
  Max: 30

RSpec/FilePath:
  Enabled: false

Style/HashSyntax:
  EnforcedStyle: ruby19_no_mixed_keys
  # Introduced in Ruby 3.1. Disable for now.
  EnforcedShorthandSyntax: never

# To respect rufo formatting
Style/StringLiterals:
  EnforcedStyle: double_quotes

# To respect rufo formatting
Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: consistent_comma

# To respect rufo formatting
Layout/MultilineOperationIndentation:
  Enabled: false

# Was problematic, and not included in the .rubocop_todo.yml
GitlabSecurity/PublicSend:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab-dangerfiles-3.6.7 .rubocop.yml