Sha256: b0c44b3326cd878ad68db853a972e9017ff8b819078957983af4222ad797b4a9

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

Style/RegexpLiteral:
  Exclude:
    - Guardfile

require:
  - rubocop-rspec
  - rubocop-rake

AllCops:
  Include:
    - Gemfile
    - Guardfile
    - Rakefile
    - bin/planter
    - 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
    - bin/untitled
    - 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

2 entries across 2 versions & 1 rubygems

Version Path
planter-cli-3.0.2 .rubocop.yml
planter-cli-3.0.1 .rubocop.yml