Sha256: db1138fbfb5c94be43e0bcc9f7454b86d0685971056ba62b1fa062eb14d109c3

Contents?: true

Size: 1.79 KB

Versions: 10

Compression:

Stored size: 1.79 KB

Contents

##
# Bug with Travis rubocop and rainbow gem
# resolve:
# https://github.com/rubocop-hq/rubocop/issues/6398#issuecomment-431898694
inherit_mode:
  merge:
    - Exclude

AllCops:
  TargetRubyVersion: 2.5
  Exclude:
    - '**/tmp/**/*'
    - '**/script/**/*'
    - Rakefile
    - 'bin/*'
  UseCache: true

Metrics/LineLength:
  Max: 120
  IgnoredPatterns: ['\s*\#\s.*$']
  Exclude:
    - 'spec/**/*'

# Configuration parameters: CountComments.
Metrics/MethodLength:
  Exclude:
    - 'spec/**/*'

Metrics/ModuleLength:
  Exclude:
    - 'spec/**/*'

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*'
    - 'luna_park.gemspec'

Style/AsciiComments:
  Enabled: false

Lint/AmbiguousBlockAssociation:
  Exclude:
    - 'spec/**/*'

Style/Attr:
  Enabled: false

# TODO: убрать/изменить правило
Style/Documentation:
  Enabled: false

Naming/MethodParameterName:
  AllowedNames: io, id, to, by, on, in, at, ip, db, pk, fk

# TODO: поговорить с Филиппом про attr
Layout/EmptyLinesAroundAttributeAccessor:
  Enabled: false

Layout/SpaceAroundMethodCallOperator:
  Enabled: true

Lint/DeprecatedOpenSSLConstant:
  Enabled: true

Lint/MixedRegexpCaptureTypes:
  Enabled: true

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

# TODO: поговорить с Филиппом про attr
Style/AccessorGrouping:
  Enabled: false

Style/BisectedAttrAccessor:
  Enabled: true

Style/ExponentialNotation:
  Enabled: true

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

Style/RedundantAssignment:
  Enabled: true

Style/RedundantFetchBlock:
  Enabled: true

Style/RedundantRegexpCharacterClass:
  Enabled: true

Style/RedundantRegexpEscape:
  Enabled: true

Style/SlicingWithRange:
  Enabled: true

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
luna_park-0.12.1 .rubocop.yml
luna_park-0.12.0 .rubocop.yml
luna_park-0.11.7 .rubocop.yml
luna_park-0.11.6 .rubocop.yml
luna_park-0.11.5 .rubocop.yml
luna_park-0.11.4 .rubocop.yml
luna_park-0.11.3 .rubocop.yml
luna_park-0.11.2 .rubocop.yml
luna_park-0.11.1 .rubocop.yml
luna_park-0.11.0 .rubocop.yml