Sha256: 48bca53c5802202edbbb0ecd0e2d6dbff48f8ff48605ac73835dc3b562e310fd

Contents?: true

Size: 1.32 KB

Versions: 13

Compression:

Stored size: 1.32 KB

Contents

AllCops:
  Include:
    - chef-handler-datadog.gemspec
    - '**/Appraisals'
    - '**/Gemfile'
    - '**/Rakefile'
  Exclude:
    - 'spec/*.rb'
    - '*/vendor/**/*'

# 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: 150

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

# TODO: main method `report` does a lot of work, which drives this number up.
Metrics/AbcSize:
  Max: 38

# TODO: Main class is currently over 100 lines of code, making comprehending
# it harder. With refactors and simplifications, we can bring this down,
# but for now, let's not make it too much worse.
Metrics/ClassLength:
  Max: 158

# TODO: this is currently down to 7 from 22, and should be a constant
# goal to reduce method complexity. The accepted goal is 6.
# Method `select_hostname`
Metrics/CyclomaticComplexity:
  Max: 7

# TODO: The main method `report` is now down from 85 lines. 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: select_hostname, report are both higher than the default of 7
Metrics/PerceivedComplexity:
  Max: 9

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
chef-handler-datadog-0.13.0 .rubocop.yml
chef-handler-datadog-0.12.3 .rubocop.yml
chef-handler-datadog-0.12.2 .rubocop.yml
chef-handler-datadog-0.12.1 .rubocop.yml
chef-handler-datadog-0.12.0 .rubocop.yml
chef-handler-datadog-0.11.0 .rubocop.yml
chef-handler-datadog-0.10.0 .rubocop.yml
chef-handler-datadog-0.10.0.rc1 .rubocop.yml
chef-handler-datadog-demo-0.2.0 .rubocop.yml
chef-handler-datadog-demo-0.1.0 .rubocop.yml
chef-handler-datadog-0.9.0 .rubocop.yml
chef-handler-datadog-0.8.0 .rubocop.yml
chef-handler-datadog-0.7.0 .rubocop.yml