AllCops:
  TargetRubyVersion: 2.2
  DisplayCopNames: true
  DisabledByDefault: true

Metrics/LineLength:
  Max: 120

Layout/DotPosition:
  EnforcedStyle: leading

Layout/AlignHash:
  Enabled: true

Layout/ExtraSpacing:
  AllowForAlignment: false

Style/HashSyntax:
  EnforcedStyle: ruby19

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%':  '{}'
    '%i': '[]'
    '%q': '{}'
    '%Q': '{}'
    '%r': '{}'
    '%s': '[]'
    '%w': '[]'
    '%W': '[]'
    '%x': '[]'

Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Layout/SpaceInsideBlockBraces:
  EnforcedStyleForEmptyBraces: space

Style/StringLiterals:
  EnforcedStyle: single_quotes

Style/TrailingCommaInLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: comma

Style/ClassAndModuleChildren:
  EnforcedStyle: nested

# NOTE: Cop seems to be broken at the moment:
#
#   An error occurred while Layout/MultilineOperationIndentation cop was
#   inspecting ./lib/rspec_api_docs/rake_task.rb:101:6
# Layout/MultilineOperationIndentation:
#   EnforcedStyle: indented

AllCops:
  TargetRubyVersion: 2.2
  DisplayCopNames: true
  DisabledByDefault: true

Metrics/LineLength:
  Max: 120

Layout/DotPosition:
  EnforcedStyle: leading

Layout/AlignHash:
  Enabled: true

Layout/ExtraSpacing:
  AllowForAlignment: false

Style/HashSyntax:
  EnforcedStyle: ruby19

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%':  '{}'
    '%i': '[]'
    '%q': '{}'
    '%Q': '{}'
    '%r': '{}'
    '%s': '[]'
    '%w': '[]'
    '%W': '[]'
    '%x': '[]'

Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Layout/SpaceInsideBlockBraces:
  EnforcedStyleForEmptyBraces: space

Style/StringLiterals:
  EnforcedStyle: single_quotes

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: comma

Style/ClassAndModuleChildren:
  EnforcedStyle: nested

# NOTE: Cop seems to be broken at the moment:
#
#   An error occurred while Layout/MultilineOperationIndentation cop was
#   inspecting ./lib/rspec_api_docs/rake_task.rb:101:6
# Layout/MultilineOperationIndentation:
#   EnforcedStyle: indented

Update Rubocop options to be compatible with latest Rubocop version
Update Rubocop options to be compatible with latest Rubocop version
