Sha256: 7c515151db86a8e8203179ad8441bc720cb2bcd8eafd56a439a8e10a7d5bb706

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

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: 35

RSpec/FilePath:
  Enabled: false

RSpec/SpecFilePathFormat:
  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
Style/TrailingCommaInArguments:
  Enabled: false

# 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

6 entries across 6 versions & 1 rubygems

Version Path
gitlab-dangerfiles-4.6.0 .rubocop.yml
gitlab-dangerfiles-4.5.1 .rubocop.yml
gitlab-dangerfiles-4.4.0 .rubocop.yml
gitlab-dangerfiles-4.3.2 .rubocop.yml
gitlab-dangerfiles-4.2.1 .rubocop.yml
gitlab-dangerfiles-4.2.0 .rubocop.yml