Sha256: 59d0aa6f975dfdc5c49af07ccf208605c177d784c6020ae6c2789d95ef94b5a1

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

inherit_from: ./ruby-1.9.yml

# NOTE: The lowest TargetRubyVersion that can be declared is 2.0
#   AllCops:
#     TargetRubyVersion: 1.8

# Load basic rules for this version of Ruby from standard.
inherit_gem:
  standard: config/ruby-1.8.yml

##############################################################################
# Additional rules that allow preservation of ruby 1.8.7 / ree compatibility #
#   These are not in standard, and are the primary reason this gem exists.   #
##############################################################################

# Ruby 1.8.7 needs the . on chain of method calls at the end of a line
Layout/DotPosition:
  EnforcedStyle: trailing

# Disabled in standard's base.yml.  Keeping here in case it is removed from base.
Style/Documentation:
  Enabled: false

# Set in standard's base.yml.  Keeping here in case it is changed in base.
Style/PercentLiteralDelimiters:
  Enabled: true
  PreferredDelimiters:
    default: ()
    '%i': '[]'
    '%I': '[]'
    '%r': '{}'
    '%w': '[]'
    '%W': '[]'

# Missing from standard's base.yml. Works in concert with Style/PercentLiteralDelimiters
Style/SymbolArray:
  EnforcedStyle: brackets

# Missing from standard's base.yml. Works in concert with Style/PercentLiteralDelimiters
Style/WordArray:
  EnforcedStyle: brackets

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
standard-rubocop-lts-1.0.1 config/ruby-1.8.yml