Sha256: 970a71d17c2837302b4f5b39616d68cdf970919852b5dadf1816f3c3d4a7447a

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

inherit_from:
  - .rubocop_todo.yml

AllCops:
  Exclude:
    - 'doc/plugins/**'

Rails:
  Enabled: true

Rails/Date:
  Enabled: false

Rails/HttpPositionalArguments:
  Enabled: false

# Don't enforce documentation
Style/Documentation:
  Enabled: false

# Force before_filter until upgrade to Rails 4
Rails/ActionFilter:
  EnforcedStyle: filter

Metrics/MethodLength:
  Max: 40

Style/TrailingCommaInLiteral:
  Enabled: false

#Style/TrailingCommaInArguments:
#Enabled: false

Style/AccessorMethodName:
  Enabled: false

Style/RedundantSelf:
  Enabled: false

Metrics/ClassLength:
  Max: 500
  Exclude:
       - 'test/**/*'

Style/FileName:
  Exclude:
      - 'db/seeds.d/*'

Style/WordArray:
  Enabled: false

Style/BracesAroundHashParameters:
  Enabled: false

Style/RescueModifier:
  Enabled: false

Style/ClassAndModuleChildren:
  Enabled: false

Style/EachWithObject:
  Enabled: false

Style/GuardClause:
  Enabled: false

Metrics/BlockLength:
  Exclude:
       - 'config/routes.rb'
       - 'lib/foreman_remote_execution/engine.rb'
       - 'test/**/*'

Metrics/ParameterLists:
  Enabled: false

Style/VariableNumber:
  Enabled: false

# a == 0 is not the same as a.zero?, when a is not a number
Style/NumericPredicate:
  Enabled: false

Style/FormatStringToken:
  EnforcedStyle: template

Rails/SkipsModelValidations:
  Enabled: false

Style/SymbolArray:
  Enabled: false

# for compatibility with Foreman 1.15
Rails/ApplicationRecord:
  Enabled: false

Style/FormatString:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_remote_execution-1.3.3 .rubocop.yml
foreman_remote_execution-1.3.2 .rubocop.yml