express42-cookbooks/zabbix_lwrp

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-07-26 14:44:14 +0300 using RuboCop version 0.47.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'providers/connect.rb'

# Offense count: 9
Metrics/AbcSize:
  Enabled: false

# Offense count: 14
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
  Enabled: false

# Offense count: 3
Metrics/CyclomaticComplexity:
  Enabled: false

# Offense count: 219
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
  Enabled: false

# Offense count: 15
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Enabled: false


# Offense count: 3
Metrics/PerceivedComplexity:
  Enabled: false


# Offense count: 1
Style/ClassVars:
  Exclude:
    - 'providers/connect.rb'

# Offense count: 1
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'resources/action.rb'

# Offense count: 2
Style/IdenticalConditionalBranches:
  Exclude:
    - 'recipes/web.rb'

# Offense count: 78
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInLiteral:
  Enabled: false

# Offense count: 36
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
  Exclude:
    - 'resources/action.rb'
    - 'resources/application.rb'
    - 'resources/screen.rb'
Style/NumericPredicate:
  Enabled: false