Sha256: 9313c1b03d9de4e32409cba1323ef043d79c6c70d3bc2391b805b9f967590f0e

Contents?: true

Size: 1011 Bytes

Versions: 3

Compression:

Stored size: 1011 Bytes

Contents

Style/RegexpLiteral:
  Exclude:
    - Guardfile

require:
  - rubocop-rspec
  - rubocop-rake

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

Style/MutableConstant:
  Enabled: false

Style/SpecialGlobalVars:
  Enabled: false

Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes

Style/StringLiteralsInInterpolation:
  Enabled: true
  EnforcedStyle: single_quotes

Layout/LineLength:
  Max: 120

Metrics/MethodLength:
  Max: 45

Metrics/BlockLength:
  Max: 45
  Exclude:
    - Rakefile
    - lib/*.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

3 entries across 3 versions & 1 rubygems

Version Path
planter-cli-3.0.5 .rubocop.yml
planter-cli-3.0.4 .rubocop.yml
planter-cli-3.0.3 .rubocop.yml