Sha256: df9b8a423915766eebc0668567a78c68d06798d0c243ba179e9101ba53c213f9

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

inherit_from: .rubocop_todo.yml

Style/RegexpLiteral:
  Exclude:
    - Guardfile

require:
  - rubocop-rspec
  - rubocop-rake

AllCops:
  Include:
    - Gemfile
    - Guardfile
    - Rakefile
    - bin/plant
    - lib/**/*.rb
  Exclude:
    - pkg/**/*.rb
    - test/*
    - 'lib/tty-spinner/**/*'

Style/MutableConstant:
  Enabled: false

Style/SpecialGlobalVars:
  Enabled: false

Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes

Style/StringLiteralsInInterpolation:
  Enabled: true
  EnforcedStyle: single_quotes

Metrics/MethodLength:
  Max: 45

Metrics/BlockLength:
  Max: 45
  Exclude:
    - Rakefile
    - lib/*.rb
    - lib/planter/string.rb

Metrics/ClassLength:
  Max: 300

Metrics/PerceivedComplexity:
  Max: 30

# Metrics/AbcSize:
#   Max: 45

Metrics/CyclomaticComplexity:
  Max: 20

Metrics/AbcSize:
  Enabled: false

Metrics/ModuleLength:
  Max: 174

Security/YAMLLoad:
  Enabled: false

Style/ModuleFunction:
  Exclude:
    - 'lib/planter/color.rb'

Style/RaiseArgs:
  EnforcedStyle: compact

Style/SlicingWithRange:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
planter-cli-3.0.7 .rubocop.yml