the-rocci-project/rOCCI-core

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
inherit_from: .rubocop_todo.yml

AllCops:
  TargetRubyVersion: 2.2

Metrics/ModuleLength:
  Exclude:
  - 'spec/**/*'
  - 'test/**/*'

Metrics/MethodLength:
  Max: 12

Metrics/AbcSize:
  Exclude:
  - 'lib/occi/core/parsers/text/*'
  - 'lib/occi/core/parsers/json/*'
  - 'lib/occi/core/helpers/parser_dereferencer.rb'
  - 'lib/occi/core/helpers/instance_attribute_resetter.rb'

Metrics/LineLength:
  Max: 120
  Exclude:
  - 'lib/occi/core/parsers/text/constants.rb'

Metrics/BlockLength:
  Exclude:
  - 'spec/**/*'
  - 'test/**/*'
  - '*.gemspec'

ClassLength:
  Max: 180

Style/Documentation:
  Exclude:
  - 'spec/**/*'
  - 'test/**/*'
  - 'lib/occi/core/version.rb'

Style/StructInheritance:
  Exclude:
  - 'lib/occi/core/attribute.rb'

Style/NilComparison:
  Exclude:
  - 'spec/occi/core/category_spec.rb'

Naming/FileName:
  Exclude:
  - 'lib/occi/infrastructure-ext.rb'

Style/YodaCondition:
  Exclude:
  - 'lib/occi/core/helpers/parser_dereferencer.rb'

Lint/Void:
  Exclude:
  - '**/*'