Sha256: fc2ec1f5ad36a2b391a1f783c77e114cbee2524162c82152df809a5658ec395f

Contents?: true

Size: 1.73 KB

Versions: 9

Compression:

Stored size: 1.73 KB

Contents

require:
  - rubocop-minitest
  - rubocop-performance
  - rubocop-rails

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

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:
  Enabled: false

Layout/LineLength:
  Enabled: false

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

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

Layout/EmptyLineAfterGuardClause:
  Enabled: false

Style/RescueStandardError:
  Enabled: false

Style/IfUnlessModifier:
  Enabled: false

Style/NumericPredicate:
  Enabled: false

Style/SafeNavigation:
  Enabled: false

Performance/RegexpMatch:
  Enabled: false

Rails/InverseOf:
  Enabled: false

Style/FormatStringToken:
  Enabled: false

Style/RegexpLiteral:
  Enabled: false

Layout/HashAlignment:
  Enabled: false

Metrics/ClassLength:
  Enabled: false

Rails/HelperInstanceVariable:
  Enabled: false

Naming/RescuedExceptionsVariableName:
  Enabled: false

Style/WordArray:
  Enabled: false

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman-tasks-2.0.3 .rubocop.yml
foreman-tasks-2.0.2 .rubocop.yml
foreman-tasks-1.1.3 .rubocop.yml
foreman-tasks-1.1.2 .rubocop.yml
foreman-tasks-2.0.1 .rubocop.yml
foreman-tasks-2.0.0 .rubocop.yml
foreman-tasks-1.2.0 .rubocop.yml
foreman-tasks-1.1.1 .rubocop.yml
foreman-tasks-1.1.0 .rubocop.yml