Sha256: 22193b3c38bd0636a069cacaf5348d0de1b40c21a857a6dd10406c7f24293739

Contents?: true

Size: 1.96 KB

Versions: 15

Compression:

Stored size: 1.96 KB

Contents

require:
  - rubocop-rspec
# Explanations of all possible options:
#   https://github.com/bbatsov/rubocop/blob/master/config/default.yml
AllCops:
  DisplayCopNames: true
  DisplayStyleGuide: true
  Exclude:
    - 'pkg/**/*'
    - 'vendor/**/*'
    - 'spec/fixtures/**/*'

Metrics/MethodLength:
  Max: 25

Layout/LineLength:
  Max: 160

# Details:
#   http://c2.com/cgi/wiki?AbcMetric
Metrics/AbcSize:
  # The ABC size is a calculated magnitude, so this number can be a Fixnum or
  # a Float.
  Max: 20

Style/StringLiterals:
  EnforcedStyle: single_quotes

Style/HashSyntax:
  EnforcedStyle: ruby19

Style/NumericLiterals:
  Enabled: false

Style/SignalException:
  EnforcedStyle: only_raise

Metrics/ClassLength:
  Max: 120

# TODO: enable this when Ruby 3.0 is out.
Style/FrozenStringLiteralComment:
  Enabled: false

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Style/NumericPredicate:
  Enabled: false

Naming/VariableNumber:
  Enabled: false

Style/SafeNavigation:
  Enabled: false

Metrics/BlockLength:
  CountComments: false
  Max: 25
  Exclude:
    - 'Rakefile'
    - '**/*.rake'
    - 'spec/**/*.rb'

Layout/HeredocIndentation:
  Enabled: false

Gemspec/OrderedDependencies:
  Enabled: false

Style/FormatStringToken:
  Enabled: false

Naming/MethodParameterName:
  Enabled: false

Gemspec/RequiredRubyVersion:
  Enabled: false

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: comma

Naming/RescuedExceptionsVariableName:
  Enabled: false

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

RSpec/FilePath:
  Enabled: true
  IgnoreMethods: true

Style/Documentation:
  Enabled: false

RSpec/ExampleLength:
  Enabled: false

RSpec/MultipleExpectations:
  Enabled: false

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cirro-ruby-client-1.6.2 .rubocop.yml
cirro-ruby-client-1.6.1 .rubocop.yml
cirro-ruby-client-1.6.0 .rubocop.yml
cirro-ruby-client-1.5.0 .rubocop.yml
cirro-ruby-client-1.4.0 .rubocop.yml
cirro-ruby-client-1.3.0 .rubocop.yml
cirro-ruby-client-1.2.3 .rubocop.yml
cirro-ruby-client-1.2.2 .rubocop.yml
cirro-ruby-client-1.2.1 .rubocop.yml
cirro-ruby-client-1.2.0 .rubocop.yml
cirro-ruby-client-1.1.0 .rubocop.yml
cirro-ruby-client-1.0.1 .rubocop.yml
cirro-ruby-client-1.0.0 .rubocop.yml
cirro-ruby-client-0.1.3 .rubocop.yml
cirro-ruby-client-0.1.2 .rubocop.yml