Sha256: 31b28117c156da086ac48f72384c45e111f8bd5ab523336c2b46a8b7948dfc02

Contents?: true

Size: 1.69 KB

Versions: 4

Compression:

Stored size: 1.69 KB

Contents

# TODO: remove this file by either moving cops here or fixing code
inherit_from:
  - .rubocop_todo.yml

AllCops:
  Include:
    - 'Rakefile'
    - 'app/views/foreman_tasks/api/**/*.rabl'
    - lib/**/*.rake

Lint/ShadowingOuterLocalVariable:
  Enabled: false

Rails:
  Enabled: true

# Don't prefer is_a? over kind_of?
Style/ClassCheck:
  Enabled: false

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

# Support both ruby19 and hash_rockets
Style/HashSyntax:
  Enabled: false

# Both double and single quotes are OK
Style/StringLiterals:
  Enabled: false

# Don't enforce frozen string literals
Style/FrozenStringLiteralComment:
  Enabled: false

Style/FormatStringToken:
  EnforcedStyle: template

Rails/SkipsModelValidations:
  Enabled: false

Style/SymbolArray:
  Enabled: false

Style/FormatString:
  Enabled: false

Rails/Present:
  Exclude:
    - lib/foreman_tasks_core/**/*

Rails/FilePath:
  Enabled: false

Rails/ReversibleMigration:
  Enabled: false

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

Naming/FileName:
  Exclude:
    - '*.gemspec'
    - Gemfile
    - db/seeds.d/*
    - lib/foreman-tasks.rb

Layout/IndentHeredoc:
  Exclude:
    - '*.gemspec'
    - bin/*

Layout/EmptyLineAfterGuardClause:
  Enabled: false

Style/RescueStandardError:
  Enabled: false

Style/IfUnlessModifier:
  Enabled: false

Style/NumericPredicate:
  Enabled: false

Style/IfUnlessModifier:
  Enabled: false

Style/SafeNavigation:
  Enabled: false

Performance/RegexpMatch:
  Enabled: false

Rails/InverseOf:
  Enabled: false

Style/FormatStringToken:
  Enabled: false

Style/RegexpLiteral:
  Enabled: false

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman-tasks-0.14.6 .rubocop.yml
foreman-tasks-0.15.0 .rubocop.yml
foreman-tasks-0.14.5 .rubocop.yml
foreman-tasks-0.14.4 .rubocop.yml