Sha256: b2ea3be461e37a129ca3af7cdabdd4011e67804ab113cddceb5601e71ddae1ac

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

AllCops:
  DisplayCopNames: true
  TargetRubyVersion: 2.6
  Exclude:
    - 'vendor/**/*'
    - 'spec/fixtures/**/*'
    - 'tmp/**/*'
    - 'spec/**/*.rb'
    - 'bin/**/*'
    - 'db/**/*.rb'
    - '.git-hooks/**/*.rb'
    - 'node_modules/**/*'

# ---------------------------------------------
# Metrics
# ---------------------------------------------
Metrics/MethodLength:
  Max: 15

Metrics/AbcSize:
  Max: 20

Metrics/ParameterLists:
  CountKeywordArgs: false

Metrics/BlockLength:
  Max: 35

# ---------------------------------------------
# Layout
# ---------------------------------------------
Layout/LineLength:
  Max: 100
  IgnoredPatterns: ['(\A|\s)#']

Layout/ExtraSpacing:
  AllowBeforeTrailingComments: true
  AllowForAlignment: true

Layout/EmptyLinesAroundModuleBody:
  Enabled: false # none of the possible options are viable

Layout/EmptyLinesAroundExceptionHandlingKeywords:
  Enabled: false

# ---------------------------------------------
# Style
# ---------------------------------------------
Style/CommentedKeyword:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

# ---------------------------------------------
# Naming
# ---------------------------------------------
Naming/MethodParameterName:
  MinNameLength: 2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lanternshark-0.1.0 .rubocop.yml