Codebase list ruby-gitlab / upstream/latest .rubocop.yml
upstream/latest

Tree @upstream/latest (Download .tar.gz)

.rubocop.yml @upstream/latestraw · history · blame

---
inherit_from: .rubocop_todo.yml

require: rubocop-performance

AllCops:
  TargetRubyVersion: 2.5
  NewCops: enable

Layout/LineLength:
  Max: 123
  Exclude:
    - 'lib/gitlab/client/*'
    - 'spec/**/*'

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*'

Metrics/ParameterLists:
  MaxOptionalParameters: 4

Style/Documentation:
  Enabled: false

Style/ClassAndModuleChildren:
  Exclude:
    - 'lib/gitlab/*'
    - 'lib/gitlab/client/*'

Lint/NonDeterministicRequireOrder:
  Enabled: false