Sha256: 8324ea32da4d580153622478f254cde1c0b6e34a8a9b133869123a58f327cb3b

Contents?: true

Size: 1.27 KB

Versions: 8

Compression:

Stored size: 1.27 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

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

Style/FormatString:
  Enabled: false

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

Rails/FilePath:
  Enabled: false

Rails/ReversibleMigration:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - lib/foreman_tasks/tasks/**/*

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman-tasks-0.10.4 .rubocop.yml
foreman-tasks-0.9.6 .rubocop.yml
foreman-tasks-0.10.3 .rubocop.yml
foreman-tasks-0.10.2 .rubocop.yml
foreman-tasks-0.10.1 .rubocop.yml
foreman-tasks-0.9.5 .rubocop.yml
foreman-tasks-0.10.0 .rubocop.yml
foreman-tasks-0.9.4 .rubocop.yml