Sha256: 08b40fd4119bff5ba6d9fd6c3d7d8df61f37c589aa6c54bc6641526ac828a547

Contents?: true

Size: 1.62 KB

Versions: 23

Compression:

Stored size: 1.62 KB

Contents

AllCops:
  TargetRubyVersion: 2.1
  Include:
    - 'lib/**/*.rb'
    - 'test/**/*.rb'
    - 'spec/**/*.rb'
    - 'Gemfile'
    - 'Rakefile'
  Exclude:
    - 'Appraisals'
    - '*.gemspec'
    - 'lib/ddtrace/vendor/**/*.rb'

# 80 characters is a nice goal, but not worth currently changing in existing
# code for the sake of changing it to conform to a length set in 1928 (IBM).
Metrics/LineLength:
  Max: 124

# These exceptions are good goals to attain, and probably will over time,
# so periodic disabling and re-running to inspect values is suggested.

Metrics/AbcSize:
  Max: 50

# TODO: As refactors continue, this should drop. However, the goal of
# 10 lines in a method may be a little lofty.
Metrics/MethodLength:
  Max: 36

# TODO: this is not compliant with the Ruby community style guide. We
# should enable again this rule but it will change the public API because
# we're using set_ methods. We should work on that because also Rails
# honors this rule.
Style/AccessorMethodName:
  Enabled: false

Style/MethodCallWithoutArgsParentheses:
  Enabled: false

Style/RescueModifier:
  Enabled: false

Style/NumericLiterals:
  Enabled: false

Metrics/ClassLength:
  Max: 140

Metrics/BlockLength:
  Max: 42
  Exclude:
    - test/**/*
    - spec/**/*

Metrics/ParameterLists:
  Enabled: false

Metrics/CyclomaticComplexity:
  Max: 15

Metrics/PerceivedComplexity:
  Max: 15

Lint/UnusedMethodArgument:
  Enabled: false

# Disabling advices that would lead to incompatible Ruby 1.9 code
Style/SymbolArray:
  Enabled: false

# Simple conditionals are perfectly fine, and more readable for multiline
# expressions.
Style/GuardClause:
  Enabled: false

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ddtrace-0.19.1 .rubocop.yml
ddtrace-0.19.0 .rubocop.yml
ddtrace-0.18.3 .rubocop.yml
ddtrace-0.18.2 .rubocop.yml
ddtrace-0.18.1 .rubocop.yml
ddtrace-0.18.0 .rubocop.yml
ddtrace-0.17.3 .rubocop.yml
ddtrace-0.17.2 .rubocop.yml
ddtrace-0.17.1 .rubocop.yml
ddtrace-0.17.0 .rubocop.yml
ddtrace-0.16.1 .rubocop.yml
ddtrace-0.15.0.internaltracinfeature1 .rubocop.yml
ddtrace-0.16.0 .rubocop.yml
ddtrace-0.14.2.disableprotocolversion4 .rubocop.yml
ddtrace-0.15.0 .rubocop.yml
ddtrace-0.14.2.withoutpriorityparsing1 .rubocop.yml
ddtrace-0.14.2 .rubocop.yml
ddtrace-0.14.1 .rubocop.yml
ddtrace-0.15.0.beta1 .rubocop.yml
ddtrace-0.14.0 .rubocop.yml