Sha256: 6b6bb04825011143cb53105a69276005b7cc70a4c33e1e2c425aee8cdf78f8ed

Contents?: true

Size: 1.95 KB

Versions: 6

Compression:

Stored size: 1.95 KB

Contents

require: rubocop-rspec
AllCops:
  Include:
    - '**/Rakefile'
    - 'lib/**/*.rb'
    - 'bin/**/*.rb'
    - 'spec/**/*.rb'
    - 'examples/**/*.rb'
  Exclude:
    - 'Gemfile.lock'
    - 'gemfiles/**/*'
  TargetRubyVersion: 2.5

Lint/HandleExceptions:
  Enabled: true

Lint/UselessAssignment:
  Enabled: true

Metrics/AbcSize:
  Max: 38

Metrics/CyclomaticComplexity:
  Max: 7

Metrics/LineLength:
  Max: 120

Metrics/MethodLength:
  Max: 13

Metrics/BlockLength:
  Enabled: true
  Exclude:
    - '**/spec/**/*.rb'

Metrics/PerceivedComplexity:
  Max: 8

Naming/AccessorMethodName:
  Enabled: true

Naming/ConstantName:
  Enabled: true

Naming/FileName:
  Enabled: true
  Exclude:
    - 'lib/sidekiq-unique-jobs.rb'
    - '**/Gemfile'
    - '**/Appraisals'
    - '**/*.gemspec'

Naming/UncommunicativeMethodParamName:
  AllowedNames:
    - ex

RSpec/DescribeClass:
  Enabled: false

RSpec/ExampleLength:
  Enabled: false

RSpec/ExpectActual:
  Enabled: false

RSpec/ExpectInHook:
  Enabled: false

RSpec/MessageSpies:
  Enabled: false

RSpec/MultipleExpectations:
  Enabled: false

RSpec/NestedGroups:
  Max: 4
  Enabled: true

RSpec/RepeatedExample:
  Enabled: false

Style/FrozenStringLiteralComment:
  Enabled: true

Style/Documentation:
  Enabled: false

Style/SignalException:
  EnforcedStyle: only_fail
  Enabled: false

Style/GlobalVars:
  Enabled: true

Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes
  ConsistentQuotesInMultiline: true

Style/StringLiteralsInInterpolation:
  Enabled: true
  EnforcedStyle: single_quotes

Style/SymbolArray:
  Enabled: true
  EnforcedStyle: brackets

Style/TernaryParentheses:
  Enabled: true
  EnforcedStyle: require_parentheses_when_complex
  AllowSafeAssignment: true

Style/TrailingCommaInArguments:
  Enabled: true
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  Enabled: true
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInHashLiteral:
  Enabled: true
  EnforcedStyleForMultiline: comma

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-6.0.0.rc6 .rubocop.yml
sidekiq-unique-jobs-6.0.0.rc5 .rubocop.yml
sidekiq-unique-jobs-6.0.0.rc4 .rubocop.yml
sidekiq-unique-jobs-6.0.0.rc3 .rubocop.yml
sidekiq-unique-jobs-6.0.0.rc2 .rubocop.yml
sidekiq-unique-jobs-6.0.0.rc1 .rubocop.yml