Sha256: 430cf0db24755301394f0d08d19b5a324c5221956e86fe5264ca177d1888b9c7

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

#
# Overrides
#
AbcSize:
  Severity: refactor
AlignHash:
  EnforcedHashRocketStyle: table
  EnforcedColonStyle: table
BlockNesting:
  Severity: refactor
ClassLength:
  Max: 150
  Severity: refactor
ClassCheck:
  EnforcedStyle: kind_of?
CollectionMethods:
  PreferredMethods:
    find: detect
    find_all: select
    map: collect
    reduce: inject
CyclomaticComplexity:
  Severity: refactor
FormatString:
  EnforcedStyle: percent
HashSyntax:
  EnforcedStyle: hash_rockets
LineLength:
  Max: 120
  Severity: refactor
MethodLength:
  Max: 25
  Severity: refactor
# Exclude test methods from BlockLength.
Metrics/BlockLength:
  ExcludedMethods:
  - after
  - before
  - context
  - describe
  - it
  - model_tests
  - namespace
  - draw  
ParameterLists:
  Severity: refactor
PerceivedComplexity:
  Severity: refactor
RedundantReturn:
  AllowMultipleReturnValues: true
SignalException:
  EnforcedStyle: only_raise
SingleLineMethods:
  AllowIfMethodIsEmpty: false
SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space
TrivialAccessors:
  AllowPredicates: true
#
# Enabled/Disabled
#
ClassAndModuleChildren:
  Enabled: false
DefEndAlignment:
  AutoCorrect: true
Documentation:
  Enabled: false
Encoding:
  Enabled: false
EndAlignment:
  AutoCorrect: true
ExtraSpacing:
  AutoCorrect: false # https://github.com/bbatsov/rubocop/issues/2280
FindEach:
  Enabled: false
GuardClause:
  Enabled: false
IfUnlessModifier:
  Enabled: false
NumericLiterals:
  AutoCorrect: false
  MinDigits: 7
ParallelAssignment:
  Enabled: false
PerlBackrefs:
  Enabled: false
ReadWriteAttribute:
  AutoCorrect: false
RescueModifier:
  AutoCorrect: false
SingleLineBlockParams:
  Enabled: false
SpaceBeforeFirstArg:
  Enabled: false
SpecialGlobalVars:
  AutoCorrect: false
Style/FrozenStringLiteralComment:
  Enabled: false
StringLiterals:
  Enabled: false
StringLiteralsInInterpolation:
  Enabled: false
TrailingCommaInLiteral:
  Enabled: false
WhileUntilModifier:
  Enabled: false
WordArray:
  AutoCorrect: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-openstack-0.1.25 .rubocop.yml
fog-openstack-0.1.24 .rubocop.yml