Sha256: 91321d8bc461243e03cd9a06b43de1c558f401cac6749eef37119b531482879a

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

inherit_from: .rubocop_todo.yml

require: rubocop-rails

AllCops:
  DisplayCopNames: true
  TargetRubyVersion: 2.4

Layout/CaseIndentation:
  EnforcedStyle: end
  IndentOneStep: true

Layout/EmptyComment:
  Enabled: false

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

Layout/LineLength:
  Exclude:
    - "spec/**/*.rb"

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Metrics/BlockLength:
  Max: 40
  Exclude:
    # `context` in tests are blocks and get quite large, so exclude the test
    # directory from having to adhere to this rule.
    - "spec/**/*.rb"

Metrics/ClassLength:
  Exclude:
    # Test classes get quite large, so exclude the test directory from having
    # to adhere to this rule.
    - "spec/**/*.rb"

Metrics/MethodLength:
  Max: 24

Metrics/ModuleLength:
  Enabled: false

Naming/AccessorMethodName:
  Enabled: false

Style/AccessModifierDeclarations:
  EnforcedStyle: inline

Style/HashEachMethods:
  Enabled: true

Style/NumericPredicate:
  Enabled: false

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: consistent_comma

Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: consistent_comma

Rails/ApplicationController:
  Enabled: false

Rails/ApplicationRecord:
  Enabled: false

Rails/ReflectionClassName:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reji-1.1.0 .rubocop.yml