Sha256: cebdc51e430f29a65eb9862901ace948737ed44e0b1ddad780baa642a574fc62

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

inherit_from: .rubocop_todo.yml

AllCops:
  DisplayCopNames: true
  Exclude:
    - 'spec/support/protos/*.pb.rb'
    - 'varint_prof.rb'

Bundler/DuplicatedGem:
  Enabled: false

Layout/EndAlignment:
  EnforcedStyleAlignWith: keyword

Lint/Loop:
  Enabled: false

Metrics/ClassLength:
  Enabled: false

Metrics/ModuleLength:
  Enabled: false

Layout/CaseIndentation:
  EnforcedStyle: end

Style/ClassAndModuleChildren:
  Exclude:
    - '**/*.pb.rb'
    - 'spec/**/*.rb'

Naming/ClassAndModuleCamelCase:
  Exclude:
    - '**/*.pb.rb'

Layout/EmptyLineBetweenDefs:
  AllowAdjacentOneLineDefs: true

Layout/EmptyLines:
  Exclude:
    - '**/*.pb.rb'

Naming/FileName:
  Exclude:
    - '**/protoc-gen-ruby*'

Style/GuardClause:
  MinBodyLength: 4

Style/HashSyntax:
  EnforcedStyle: hash_rockets

Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

Style/Semicolon:
  AllowAsExpressionSeparator: true

Style/SingleLineBlockParams:
  Enabled: false

Layout/TrailingEmptyLines:
  Exclude:
    - '**/*.pb.rb'

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: comma

Style/TrivialAccessors:
  AllowDSLWriters: true
  AllowPredicates: true

Style/Encoding:
  Exclude:
    - '**/*.pb.rb'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
protobuf-3.10.9 .rubocop.yml