AllCops:
  DisplayCopNames: true
  TargetRubyVersion: 2.3
  Exclude:
    - vendor/**/*
    - gemfiles/**/*

Metrics/AbcSize:
  Enabled: false

Metrics/BlockNesting:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: false

Metrics/LineLength:
  Enabled: false

Metrics/MethodLength:
  Enabled: false

Metrics/PerceivedComplexity:
  Enabled: false

Style/ConditionalAssignment:
  EnforcedStyle: assign_inside_condition
  Exclude:
    - 'Rakefile'

Style/Documentation:
  Enabled: false

Style/DoubleNegation:
  Exclude:
    - 'libraries/helpers.rb'
    - 'recipes/_service.rb'

Style/FrozenStringLiteralComment:
  Enabled: false

Style/GlobalVars:
  Exclude:
    - 'Rakefile'

Style/IfUnlessModifier:
  Exclude:
    - 'Rakefile'
    - 'recipes/_defaults.rb'

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': '[]'
    '%W': '[]'

Style/RegexpLiteral:
  AllowInnerSlashes: true

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: consistent_comma

Style/TrailingCommaInLiteral:
  EnforcedStyleForMultiline: consistent_comma

Style/SingleLineBlockParams:
  Exclude:
    - 'libraries/helpers.rb'
    - 'libraries/log4j.rb'

Style/SpecialGlobalVars:
  EnforcedStyle: use_perl_names

AllCops:
  DisplayCopNames: true
  TargetRubyVersion: 2.3
  Exclude:
    - vendor/**/*
    - gemfiles/**/*
    - Rakefile

Metrics/AbcSize:
  Enabled: false

Metrics/BlockNesting:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: false

Metrics/LineLength:
  Enabled: false

Metrics/MethodLength:
  Enabled: false

Metrics/PerceivedComplexity:
  Enabled: false

Style/ConditionalAssignment:
  EnforcedStyle: assign_inside_condition

Style/Documentation:
  Enabled: false

Style/DoubleNegation:
  Exclude:
    - 'libraries/helpers.rb'
    - 'recipes/_service.rb'

Style/FrozenStringLiteralComment:
  Enabled: false

Style/IfUnlessModifier:
  Exclude:
    - 'recipes/_defaults.rb'

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': '[]'
    '%W': '[]'

Style/RegexpLiteral:
  AllowInnerSlashes: true

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: consistent_comma

Style/TrailingCommaInLiteral:
  EnforcedStyleForMultiline: consistent_comma

Style/SingleLineBlockParams:
  Exclude:
    - 'libraries/helpers.rb'
    - 'libraries/log4j.rb'

Style/SpecialGlobalVars:
  EnforcedStyle: use_perl_names

Exclude Rakefile from Rubocop checking
Exclude Rakefile from Rubocop checking

It's not part of the actual cookbook but a mere tool for automating
tasks.