Sha256: 86674422ab3d87f3efbe37df01cc68befebeab180624ac5598450ac1e248186e

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

inherit_from: ./ruby-2.0.yml

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

# Load basic rules for this version of Ruby from standard.
inherit_gem:
  standard: config/ruby-1.9.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.   #
##############################################################################

# Disabled in standard's base.yml, which allows magic encoding comments to live on.
# Reproducing here, in case Standard Ruby drops the config.
#
Style/Encoding:
  Enabled: false
# The encoding comments can be removed once a project drops Ruby 1.9 support.
# Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
# See:
#   * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
#   * https://rubydoc.info/gems/rubocop/RuboCop/Cop/Style/Encoding
# Unfortunately in latest RuboCop there is only a "never" style enforced (i.e. encodings are always bad).
# TODO: Consider bringing back this rule as a new Cop (extracted from old RuboCop)
#Style/Encoding:
#  Enabled: true
#  EnforcedStyle: always

Version data entries

1 entries across 1 versions & 1 rubygems

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